All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: wenzong.fan@windriver.com
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH][meta-selinux] tar: cleanup duplicate PACKAGECONFIG
Date: Mon, 13 Apr 2015 12:50:40 +0200	[thread overview]
Message-ID: <20150413105040.GB2330@jama> (raw)
In-Reply-To: <20150413104719.GA2330@jama>

[-- Attachment #1: Type: text/plain, Size: 2443 bytes --]

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@windriver.com wrote:
> > From: Wenzong Fan <wenzong.fan@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@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@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@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

      reply	other threads:[~2015-04-13 10:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13  9:24 [PATCH][meta-selinux] tar: cleanup duplicate PACKAGECONFIG wenzong.fan
2015-04-13 10:47 ` Martin Jansa
2015-04-13 10:50   ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150413105040.GB2330@jama \
    --to=martin.jansa@gmail.com \
    --cc=wenzong.fan@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.