aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2021-08-13 12:42:11 +0800
committerKhem Raj <raj.khem@gmail.com>2021-08-12 22:58:40 -0700
commited556a580a9fe7c93aaf78e1c025d8d8c0f5edab (patch)
tree575b9eafc93825165fe2fcd2856948817fa9cfc4
parent4940e9fb6ac84d964eabeab77a0e0b0bc97ded99 (diff)
downloadmeta-openembedded-contrib-ed556a580a9fe7c93aaf78e1c025d8d8c0f5edab.tar.gz
augeas: add selinux to PACKAGECONFIG if enable selinux distro feature
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/augeas/augeas.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/augeas/augeas.inc b/meta-oe/recipes-support/augeas/augeas.inc
index 23a057135b..d83ba493e0 100644
--- a/meta-oe/recipes-support/augeas/augeas.inc
+++ b/meta-oe/recipes-support/augeas/augeas.inc
@@ -27,7 +27,7 @@ do_install:append() {
rm -fr ${D}${datadir}/vim
}
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"