On 9/1/11 11:58 AM, Phil Blundell wrote: > 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"
Hmm, good point... I'd forgotten about that. > 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. Does busybox or something else provide a compatible adduser? If so maybe a virtual RDEPENDS is more reasonable in this case. I think we're caught in the case of we build packages.. as such we need to cover what the package needs at runtime, this includes install time. At least w/ a virtual depend, we can likely fake it by providing it by something else.. but I'm not sure.. --Mark > p. > > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core