mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
02848f9707
commit
b790d81e60
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user