[oe] [meta-oe][PATCH] lvm2-udevrules: Add ALLOW_EMPTY
Ovidiu Panait
ovidiu.panait at windriver.com
Tue Jul 31 10:40:27 UTC 2018
When lvm2 is configured without udev feature, the lvm2-udevrules package
is empty, so do_rootfs will fail to install any other packages that
rdepend on it. (e.g. cryptsetup with meta-secure-core layer since commit
https://github.com/jiazhang0/meta-secure-core/commit/afc3939):
..
Problem: conflicting requests
- nothing provides lvm2-udevrules needed by cryptsetup
..
Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
---
meta-oe/recipes-support/lvm2/lvm2_2.02.177.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.02.177.bb b/meta-oe/recipes-support/lvm2/lvm2_2.02.177.bb
index 1d9de3d94..388e89117 100644
--- a/meta-oe/recipes-support/lvm2/lvm2_2.02.177.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2_2.02.177.bb
@@ -46,6 +46,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"
+ALLOW_EMPTY_${PN}-udevrules = "1"
RDEPENDS_${PN}_append_class-target = " libdevmapper"
RDEPENDS_${PN}_append_class-nativesdk = " libdevmapper"
--
2.17.1
More information about the Openembedded-devel
mailing list