[oe-commits] Chong Lu : tar: add knob whether acl.h are checked

git at git.openembedded.org git at git.openembedded.org
Wed Mar 19 14:11:35 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: ab0bbeeb0b0f6c3c5c7298929cfee757d7bbb111
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ab0bbeeb0b0f6c3c5c7298929cfee757d7bbb111

Author: Chong Lu <Chong.Lu at windriver.com>
Date:   Mon Mar 17 06:41:58 2014 +0000

tar: add knob whether acl.h are checked

Previously, it still was checked when there was no sys/acl.h in sysroots directory.
Add knob to decide whether acl.h are checked or not.

Fixed by using PACKAGECONFIG to check acl, with default disabled set.

Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/tar/tar.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc
index 358384a..30a1373 100644
--- a/meta/recipes-extended/tar/tar.inc
+++ b/meta/recipes-extended/tar/tar.inc
@@ -26,6 +26,8 @@ do_install_extra () {
 
 PACKAGES =+ "${PN}-rmt"
 
+PACKAGECONFIG[acl] = "--with-posix-acls, --without-posix-acls, acl,"
+
 FILES_${PN}-rmt = "${base_sbindir}/rmt*"
 
 inherit update-alternatives



More information about the Openembedded-commits mailing list