Skip to contentSkip to conversation

lvm2: Add RDEPEND on lvm2 to lvm2-udevrules

PATCH New Alex Kiernan 1 participant 1 message Sep 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/lvm2/lvm2_2.02.180.bb +1 -0
index 9da0f5ec9661..7bd7b09d8f78 100644
@@ -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"
 
Signature · 1 line
2.7.4