]> code.ossystems Code Review - openembedded-core.git/commitdiff
tar: add knob whether acl.h are checked
authorChong Lu <Chong.Lu@windriver.com>
Mon, 17 Mar 2014 06:41:58 +0000 (06:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Mar 2014 14:15:21 +0000 (14:15 +0000)
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@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/tar/tar.inc

index 358384a2b2aebad7eee8039a3aa155860ceb419e..30a1373fef7e5cce5a5f4caaf824d9c8b7dea58a 100644 (file)
@@ -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