mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
lvm2: Make sure odirect is always enabled
Make sure that even if PACKAGECONFIG is modified in a bbappend, odirect will still be enabled. 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
247256f42e
commit
02848f9707
@@ -19,21 +19,18 @@ inherit autotools-brokensep pkgconfig systemd
|
|||||||
PACKAGECONFIG_class-target ??= " \
|
PACKAGECONFIG_class-target ??= " \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
|
||||||
thin-provisioning-tools \
|
thin-provisioning-tools \
|
||||||
odirect \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
# odirect is enabled by default also for native compilation because
|
# odirect is always enabled because there currently is a bug in
|
||||||
# there's currently a bug in lib/device/dev-io.c which prevents
|
# lib/device/dev-io.c which prevents compiling without it. It is
|
||||||
# compiling without it. It is better to stick to configurations that
|
# better to stick to configurations that were actually tested by
|
||||||
# were actually tested by upstream...
|
# upstream...
|
||||||
PACKAGECONFIG ??= " \
|
PACKAGECONFIG_append = " odirect"
|
||||||
odirect \
|
|
||||||
"
|
|
||||||
|
|
||||||
|
PACKAGECONFIG[odirect] = "--enable-o_direct,--disable-o_direct"
|
||||||
PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
|
PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
|
||||||
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
|
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
|
||||||
PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,,thin-provisioning-tools"
|
PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,,thin-provisioning-tools"
|
||||||
PACKAGECONFIG[odirect] = "--enable-o_direct,--disable-o_direct"
|
|
||||||
|
|
||||||
# Unset user/group to unbreak install.
|
# Unset user/group to unbreak install.
|
||||||
EXTRA_OECONF = "--with-user= \
|
EXTRA_OECONF = "--with-user= \
|
||||||
|
|||||||
Reference in New Issue
Block a user