From: Chong Lu Date: Mon, 17 Mar 2014 06:41:58 +0000 (+0000) Subject: tar: add knob whether acl.h are checked X-Git-Tag: 2015-4~3321 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ab0bbeeb0b0f6c3c5c7298929cfee757d7bbb111;p=openembedded-core.git 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc index 358384a2b2..30a1373fef 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