[OE-core] [PATCH 2/2] tar: control acl PACKAGECONFIG based on acl distro feature

Andre McCurdy armccurdy at gmail.com
Thu Apr 26 17:49:41 UTC 2018


Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/recipes-extended/tar/tar_1.30.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/tar/tar_1.30.bb b/meta/recipes-extended/tar/tar_1.30.bb
index 3f31622..bd24f47 100644
--- a/meta/recipes-extended/tar/tar_1.30.bb
+++ b/meta/recipes-extended/tar/tar_1.30.bb
@@ -17,6 +17,8 @@ SRC_URI[sha256sum] = "87592b86cb037c554375f5868bdd3cc57748aef38d6cb741c81065f0be
 inherit autotools gettext texinfo
 
 PACKAGECONFIG ??= ""
+PACKAGECONFIG_append_class-target = " ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)}"
+
 PACKAGECONFIG[acl] = "--with-posix-acls,--without-posix-acls,acl"
 
 EXTRA_OECONF += "DEFAULT_RMT_DIR=${base_sbindir}"
-- 
1.9.1




More information about the Openembedded-core mailing list