All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: McClintock Matthew-B29882 <B29882@freescale.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: useradd: Add missing DEPEND on shadow
Date: Sun, 19 Feb 2012 15:08:28 +0000	[thread overview]
Message-ID: <1329664108.7006.15.camel@ted> (raw)
In-Reply-To: <CAEsOVNfS-UvJPCR527463OzKJLvVxK7GAnwr_==Lz7sjEOsYbA@mail.gmail.com>

On Sun, 2012-02-19 at 07:29 +0000, McClintock Matthew-B29882 wrote:
> On Wed, Nov 9, 2011 at 4:03 PM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > Without this rootfs generation fails as an RDEPENDS is added
> > but the package might not have bneen built.
> >
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> > diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
> > index 8cd7f4f..7faf1a7 100644
> > --- a/meta/classes/useradd.bbclass
> > +++ b/meta/classes/useradd.bbclass
> > @@ -2,7 +2,7 @@
> >  # target sysroot, and shadow -native and -sysroot provide the utilities
> >  # and support files needed to add and modify user and group accounts
> >  DEPENDS_append = "${USERADDDEPENDS}"
> > -USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot"
> > +USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow"
> 
> The shadow recipe is a 'PACKAGE_ARCH = "${MACHINE_ARCH}"' recipe. This
> makes all recipes that inherit useradd depend on shadow which will
> depend on the MACHINE being built for. Ideally, we just need a way to
> ensure these packages are deployed - we don't want them to effect
> signatures.
> 
> Can you suggest a better fix here? Some
> bb.exec_func("shadow:do_populate_sysroot") or something equivalent?

This was already fixed:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7c8899662be5623bedaa9a848fafebeafb348cf0

and the new machine specific subpackage is excluded from sstate's
signatures.

Cheers,

Richard




  parent reply	other threads:[~2012-02-19 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10  0:03 useradd: Add missing DEPEND on shadow Richard Purdie
2012-02-19  7:29 ` McClintock Matthew-B29882
2012-02-19 11:51   ` Paul Menzel
2012-02-19 15:08   ` Richard Purdie [this message]
2012-02-19 18:22     ` McClintock Matthew-B29882

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=1329664108.7006.15.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=B29882@freescale.com \
    --cc=openembedded-core@lists.openembedded.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.