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

git at git.openembedded.org git at git.openembedded.org
Tue Mar 18 10:23:31 UTC 2014


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

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