mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 20:34:05 +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:
parent
02848f9707
commit
b790d81e60
@ -16,11 +16,14 @@ S = "${WORKDIR}/LVM2.${PV}"
|
|||||||
|
|
||||||
inherit autotools-brokensep pkgconfig systemd
|
inherit autotools-brokensep pkgconfig systemd
|
||||||
|
|
||||||
PACKAGECONFIG_class-target ??= " \
|
LVM2_PACKAGECONFIG = ""
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
|
LVM2_PACKAGECONFIG_append_class-target = " \
|
||||||
thin-provisioning-tools \
|
${@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
|
# odirect is always enabled because there currently is a bug in
|
||||||
# lib/device/dev-io.c which prevents compiling without it. It is
|
# lib/device/dev-io.c which prevents compiling without it. It is
|
||||||
# better to stick to configurations that were actually tested by
|
# better to stick to configurations that were actually tested by
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user