]> code.ossystems Code Review - openembedded-core.git/commitdiff
coreutils: add PACKAGECONFIG info for acl support
authorJoe Slater <jslater@windriver.com>
Fri, 16 Aug 2013 20:07:27 +0000 (13:07 -0700)
committerSaul Wold <sgw@linux.intel.com>
Tue, 20 Aug 2013 14:09:07 +0000 (07:09 -0700)
Updates GPLv2 version of coreutils.  They also want
patches for other packages that might use acl.

CQID: 430353

Add configuration data to enable acl support if
it is a distro feature.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/coreutils/coreutils_6.9.bb

index c0778bacb59c7c5daadb59752afc34dc47a08fea..2654028bcf8d236cb4b75bbdb26b87f4f68dacf4 100644 (file)
@@ -32,6 +32,17 @@ SRC_URI_class-native = "${SRC_URI_BASE}"
 SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06"
 SRC_URI[sha256sum] = "89c2895ad157de50e53298b22d91db116ee4e1dd3fdf4019260254e2e31497b0"
 
+
+# acl is not a default feature
+#
+PACKAGECONFIG_class-target ??= "${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
+PACKAGECONFIG_class-native ??= ""
+
+# with, without, depends, rdepends
+#
+PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
+
+
 # [ gets a special treatment and is not included in this
 bindir_progs = "base64 basename cksum comm csplit cut dir dircolors dirname du \
                 env expand expr factor fmt fold groups head hostid id install \