diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-02-18 03:10:07 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-22 13:16:47 +0100 |
| commit | b790d81e60e5e14037c6fb3ab32e4d980d353619 (patch) | |
| tree | 4f151fdf39738c321c04fe99d769b0bc7e0e9a51 | |
| parent | 02848f9707058ef96eaea06fd825892b9e16291f (diff) | |
| download | meta-openembedded-b790d81e60e5e14037c6fb3ab32e4d980d353619.tar.gz | |
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>
| -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 |
