Patchwork [1/1] tar: add knob whether acl.h are checked

login
register
mail settings
Submitter Chong.Lu@windriver.com
Date March 17, 2014, 6:41 a.m.
Message ID <f228c093f2cd9e1c29aabdfb463c1f6934edd63b.1395038473.git.Chong.Lu@windriver.com>
Download mbox | patch
Permalink /patch/68727/
State Accepted
Commit 724cddaff5bb7fdf15d028e68e32e59201d0cb74
Headers show

Comments

Chong.Lu@windriver.com - March 17, 2014, 6:41 a.m.
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>
---
 meta/recipes-extended/tar/tar.inc | 2 ++
 1 file changed, 2 insertions(+)

Patch

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