aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2018-09-21 10:55:17 +0000
committerKhem Raj <raj.khem@gmail.com>2018-09-21 08:35:08 -0700
commit02b623dd9251a8890f759602b69f2c0ef2faa271 (patch)
tree14e86f418eb778c8e7cb2f1b784da568f5e88596
parentbe32d8531b14efbe336d673f77f2b5bc5e2f03e5 (diff)
downloadmeta-openembedded-contrib-02b623dd9251a8890f759602b69f2c0ef2faa271.tar.gz
lvm2: Add RDEPEND on lvm2 to lvm2-udevrules
Some of the rules installed as part of lvm2-udevrules need to run dmsetup, so add the dependency on lvm2 in order to ensure these can execute correctly. This fixes cryptsetup hanging when creating volumes. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb b/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
index 9da0f5ec96..7bd7b09d8f 100644
--- a/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb
@@ -50,6 +50,7 @@ FILES_${PN}-scripts = " \
# Specified explicitly for the udev rules, just in case that it does not get picked
# up automatically:
FILES_${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d"
+RDEPENDS_${PN}-udevrules = "${PN}"
RDEPENDS_${PN}_append_class-target = " libdevmapper"
RDEPENDS_${PN}_append_class-nativesdk = " libdevmapper"