[OE-core] [PATCH 1/1] base-passwd: disable problematic login.defs options

Mark Hatle mark.hatle at windriver.com
Mon Jun 20 02:13:07 UTC 2011


On 6/17/11 1:10 PM, Scott Garman wrote:
> On 06/17/2011 10:22 AM, Otavio Salvador wrote:
>> On Fri, Jun 17, 2011 at 17:19, Scott Garman<scott.a.garman at intel.com>  wrote:
>>> Sorry, I forgot to mention that shadow-utils-native is what is used to
>>> modify the passwd/group files in the target sysroot. It seems that having a
>>> -native recipe install files into a target sysroot would be worse than
>>> including an optional file with base-passwd that may or may not be used in
>>> target systems.
>>
>> Why not make an shadow-target package with this?
> 
> To just install a login.defs file? I'm open to it if a few more people 
> think this is a better idea.

The file is needed in order for the utilities that add, remove and modify
users/groups to function properly.  The full version from shadow utils is used
so we are sure we can dead with both shadow-less and shadowed filesystem images.
 (It's also more full featured then busybox, yet busybox is still compatible
with it.)

As for the separate package, that should be fine.. but remember this is a very
small file, so is it worth "another" package?  (If so, then base-files likely
should depend on it for build-time, but not run-time.)

--Mark

> Scott
> 





More information about the Openembedded-core mailing list