[yocto] [PATCH][meta-selinux] tar: cleanup duplicate PACKAGECONFIG
Martin Jansa
martin.jansa at gmail.com
Mon Apr 13 03:50:40 PDT 2015
On Mon, Apr 13, 2015 at 12:47:19PM +0200, Martin Jansa wrote:
> On Mon, Apr 13, 2015 at 05:24:23PM +0800, wenzong.fan at windriver.com wrote:
> > From: Wenzong Fan <wenzong.fan at windriver.com>
> >
> > The tar_1.28.bb has defined this:
> >
> > PACKAGECONFIG[acl] = "--with-posix-acls, --without-posix-acls, acl,"
> >
> > Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
> > ---
> > recipes-extended/tar/tar_%.bbappend | 6 ------
> > 1 file changed, 6 deletions(-)
> >
> > diff --git a/recipes-extended/tar/tar_%.bbappend b/recipes-extended/tar/tar_%.bbappend
> > index 54c8a90..53d381e 100644
> > --- a/recipes-extended/tar/tar_%.bbappend
> > +++ b/recipes-extended/tar/tar_%.bbappend
> > @@ -2,10 +2,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> >
> > inherit with-selinux
> >
> > -
> > PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
> > -
> > -# configure has no acl enable/disable options!
>
> tar 1.17 (still available in oe-core) next to 1.28 doesn't have these
> options, so dropping this will cause QA warnings.
Ah nevermind, it's fixed in master with:
commit faf469f9b5fbf794311d83db26cdf7f1042785c0
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Tue Jan 27 00:31:21 2015 -0800
tar 1.17: fix unknown-configure-option
> Maybe should fix both in oe-core first and then you can even drop
> "PACKAGECONFIG +=" line.
Moving
"${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
still seems to be useful as other recipes are also already using acl
DISTRO_FEATURES.
$ git grep PACKAGECONFIG.*DISTRO_FEATURES.*acl meta/recipes-core/coreutils/coreutils_6.9.bb:PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
meta/recipes-core/coreutils/coreutils_8.23.bb:PACKAGECONFIG_class-target ??= "${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
meta/recipes-devtools/strace/strace_4.10.bb:PACKAGECONFIG_class-target ?= "libaio ${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '',
d)}"
>
> > -#
> > -PACKAGECONFIG[acl] = ",,acl,"
> > -
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150413/8ea15206/attachment.pgp>
More information about the yocto
mailing list