If acl is a distro feature, we want to depend
on it.  Note that without the xattrs patch, tar
cannot deal with acl information.

Signed-off-by: Joe Slater <jsla...@windriver.com>
---
 recipes-extended/tar/tar_1.26.bbappend |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/recipes-extended/tar/tar_1.26.bbappend 
b/recipes-extended/tar/tar_1.26.bbappend
index 4b971c5..972a7b8 100644
--- a/recipes-extended/tar/tar_1.26.bbappend
+++ b/recipes-extended/tar/tar_1.26.bbappend
@@ -1,7 +1,15 @@
-PR .= ".2"
+PR .= ".selinux3"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI += "file://tar-1.24-xattrs.patch"
 
 inherit enable-selinux
+
+
+PACKAGECONFIG += "${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
+
+# configure has no acl enable/disable options!
+#
+PACKAGECONFIG[acl] = ",,acl,"
+
-- 
1.7.3.4

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to