From b790d81e60e5e14037c6fb3ab32e4d980d353619 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Sat, 18 Feb 2017 03:10:07 +0100 Subject: lvm2: Standardize how PACKAGECONFIG is defined The change in 4071e6b4b0 broke support for redefining PACKAGECONFIG in a bbappend without having to resort to use PACKAGECONFIG_class-target. Signed-off-by: Peter Kjellerstedt Signed-off-by: Martin Jansa --- meta-oe/recipes-support/lvm2/lvm2.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'meta-oe/recipes-support/lvm2') diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index f69acdec3..7c4bbb98c 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -16,11 +16,14 @@ S = "${WORKDIR}/LVM2.${PV}" inherit autotools-brokensep pkgconfig systemd -PACKAGECONFIG_class-target ??= " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ - thin-provisioning-tools \ +LVM2_PACKAGECONFIG = "" +LVM2_PACKAGECONFIG_append_class-target = " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ + thin-provisioning-tools \ " +PACKAGECONFIG ??= "${LVM2_PACKAGECONFIG}" + # odirect is always enabled because there currently is a bug in # lib/device/dev-io.c which prevents compiling without it. It is # better to stick to configurations that were actually tested by -- cgit v1.2.3-54-g00ecf