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>
This commit is contained in:
Alex Kiernan 2018-09-21 10:55:17 +00:00 committed by Khem Raj
parent 9c8e28d80a
commit c6e963f9e0

View File

@ -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"