From ed556a580a9fe7c93aaf78e1c025d8d8c0f5edab Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Fri, 13 Aug 2021 12:42:11 +0800 Subject: [PATCH] augeas: add selinux to PACKAGECONFIG if enable selinux distro feature Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-oe/recipes-support/augeas/augeas.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"