[OE-core] [PATCH 2/7] shadow: add a -native recipe with customized utilities

Phil Blundell philb at gnu.org
Thu Sep 1 16:58:07 UTC 2011


On Thu, 2011-09-01 at 11:54 -0500, Mark Hatle wrote:
> What is it depending on for the target?  Is the shadow-utils or something now
> required?  That doesn't seem to make sense to me -- other then we need a
> passwd/group/shadow/gshadow file to work with.  As long as something can provide
> those, we should be ok.

I haven't investigated in detail, but the code from useradd.bbclass
says:

# base-passwd-cross provides the default passwd and group files in the
# target sysroot, and shadow -native and -sysroot provide the utilities
# and support files needed to add and modify user and group accounts
DEPENDS_append = " base-passwd shadow-native shadow-sysroot"
RDEPENDS_${USERADDPN}_append = " base-passwd shadow"

And, I guess, if you want to support online package management then it
does make some sense to have the shadow utils there.  But I don't
need/want that in my configuration.

p.






More information about the Openembedded-core mailing list