Skip to contentSkip to conversation

tar: add knob whether acl.h are checked

PATCH New Chong Lu 1 participant 2 messages Mar 17, 2014

lore
Share & tools
lore

Chong Lu

author
#0 lore raw

cover tar: add knob whether acl.h are checked

The following changes since commit e665de5500ab1b44fd59dab897c736c62f487ff2:

bitbake: bitbake: cooker: some IMAGE_FEATURES not recognized (2014-03-14 07:25:40 -0700)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib chonglu/tar
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=chonglu/tar

Chong Lu (1):
tar: add knob whether acl.h are checked

 meta/recipes-extended/tar/tar.inc | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-extended/tar/tar.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-extended/tar/tar.inc +2 -0
index 358384a..30a1373 100644
@@ -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
Signature · 1 line
1.8.1.2