[OE-core] [PATCH] package_rpm: Fix useradd preinst ordering issues

Richard Purdie richard.purdie at linuxfoundation.org
Thu Apr 12 16:08:04 UTC 2012


On Thu, 2012-04-12 at 08:55 -0700, Steve Sakoman wrote:
> On Thu, Apr 12, 2012 at 8:46 AM, Mark Hatle <mark.hatle at windriver.com> wrote:
> > On 4/12/12 10:36 AM, Steve Sakoman wrote:
> >>
> >> On Thu, Apr 12, 2012 at 6:39 AM, Steve Sakoman<sakoman at gmail.com>  wrote:
> >
> >
> > That is very odd, the system is supposed to identify all of the dependencies
> > needed for the first set of packages... (the three base-passwd, base-files
> > and shadow).
> 
> Perhaps the issue is with the bash package -- for some reason rpm
> doesn't realize that bash provides /bin/sh?
> 
> > The end result is a list of 10-12 binaries to be installed that meet those
> > requirements, as well as the original three requested packages.
> >
> > We also shouldn't specify bash because busybox provides /bin/sh in a lot of
> > configurations.
> >
> > Which image did you try to build and I'll see what I can replicate here.
> 
> The images I built are not standard oe-core/yocto images, they are
> custom images that don't include busybox.  Perhaps that is why I am
> seeing the issue and others aren't.
> 
> If you are really interested in replicating let me know and I can
> provide you with pointers to my image recipes.

For what its worth, bash here does Provides: /bin/sh so I'm a little
puzzled about what is going on here. If its not doing that, it would
certainly cause the error you're reporting...

This is with master? Did you do anything like disable the per file
dependencies?

Cheers,

Richard







More information about the Openembedded-core mailing list