diff options
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 9 |
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 f69acdec38..7c4bbb98c6 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 | ||
| 17 | inherit autotools-brokensep pkgconfig systemd | 17 | inherit autotools-brokensep pkgconfig systemd |
| 18 | 18 | ||
| 19 | PACKAGECONFIG_class-target ??= " \ | 19 | LVM2_PACKAGECONFIG = "" |
| 20 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | 20 | LVM2_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 | ||
| 25 | PACKAGECONFIG ??= "${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 |
