[yocto] [PATCH 1/1] tar: add acl dependency information
Joe Slater
jslater at windriver.com
Thu Sep 5 09:51:36 PDT 2013
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 <jslater at 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
More information about the yocto
mailing list