diff options
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 333223ad04..f69acdec38 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc | |||
| @@ -19,21 +19,18 @@ inherit autotools-brokensep pkgconfig systemd | |||
| 19 | PACKAGECONFIG_class-target ??= " \ | 19 | PACKAGECONFIG_class-target ??= " \ |
| 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ |
| 21 | thin-provisioning-tools \ | 21 | thin-provisioning-tools \ |
| 22 | odirect \ | ||
| 23 | " | 22 | " |
| 24 | 23 | ||
| 25 | # odirect is enabled by default also for native compilation because | 24 | # odirect is always enabled because there currently is a bug in |
| 26 | # there's currently a bug in lib/device/dev-io.c which prevents | 25 | # lib/device/dev-io.c which prevents compiling without it. It is |
| 27 | # compiling without it. It is better to stick to configurations that | 26 | # better to stick to configurations that were actually tested by |
| 28 | # were actually tested by upstream... | 27 | # upstream... |
| 29 | PACKAGECONFIG ??= " \ | 28 | PACKAGECONFIG_append = " odirect" |
| 30 | odirect \ | ||
| 31 | " | ||
| 32 | 29 | ||
| 30 | PACKAGECONFIG[odirect] = "--enable-o_direct,--disable-o_direct" | ||
| 33 | PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" | 31 | PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" |
| 34 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | 32 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" |
| 35 | PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,,thin-provisioning-tools" | 33 | PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,,thin-provisioning-tools" |
| 36 | PACKAGECONFIG[odirect] = "--enable-o_direct,--disable-o_direct" | ||
| 37 | 34 | ||
| 38 | # Unset user/group to unbreak install. | 35 | # Unset user/group to unbreak install. |
| 39 | EXTRA_OECONF = "--with-user= \ | 36 | EXTRA_OECONF = "--with-user= \ |
