[OE-core] [PATCH 1/1] tar: add knob whether acl.h are checked

Chong Lu Chong.Lu at windriver.com
Mon Mar 17 06:41:58 UTC 2014


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>
---
 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
-- 
1.8.1.2




More information about the Openembedded-core mailing list