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

Mark Hatle mark.hatle at windriver.com
Thu Apr 12 16:37:56 UTC 2012


On 4/12/12 10:55 AM, 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.

Ya, if you could point me to the image recipe that eliminates BB and uses the 
discrete versions of things I'll look into this.

I can try to do it with hob, but I'm not sure of everything I'd have to select.

--Mark

> Steve





More information about the Openembedded-core mailing list