summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-02-18 03:10:07 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-02-22 13:16:47 +0100
commitb790d81e60e5e14037c6fb3ab32e4d980d353619 (patch)
tree4f151fdf39738c321c04fe99d769b0bc7e0e9a51 /meta-oe/recipes-support/lvm2
parent02848f9707058ef96eaea06fd825892b9e16291f (diff)
downloadmeta-openembedded-b790d81e60e5e14037c6fb3ab32e4d980d353619.tar.gz
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 <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lvm2')
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc9
1 files changed, 6 insertions, 3 deletions
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}"
16 16
17inherit autotools-brokensep pkgconfig systemd 17inherit autotools-brokensep pkgconfig systemd
18 18
19PACKAGECONFIG_class-target ??= " \ 19LVM2_PACKAGECONFIG = ""
20 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ 20LVM2_PACKAGECONFIG_append_class-target = " \
21 thin-provisioning-tools \ 21 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
22 thin-provisioning-tools \
22" 23"
23 24
25PACKAGECONFIG ??= "${LVM2_PACKAGECONFIG}"
26
24# odirect is always enabled because there currently is a bug in 27# odirect is always enabled because there currently is a bug in
25# lib/device/dev-io.c which prevents compiling without it. It is 28# lib/device/dev-io.c which prevents compiling without it. It is
26# better to stick to configurations that were actually tested by 29# better to stick to configurations that were actually tested by