Openembedded Core Discussions
 help / color / mirror / Atom feed
* Living without shadow
@ 2014-05-16 15:04 Mike Looijmans
  2014-05-16 17:23 ` Mark Hatle
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Looijmans @ 2014-05-16 15:04 UTC (permalink / raw)
  To: openembedded-core

Any package that wants to add user accounts (e.g. dbus) automatically 
installs the "shadow" package into the image. This appears to be done by 
adduser.bbclass.

We want to keep it small, and can easily live without the shadow 
package. Busybox already provides adduser and similar commands, and also 
handles login etc. just fine. So I tried adding a line
RPROVIDES_busybox+="shadow"
to the busybox recipe. I would expect to have an alternative provider 
now, and no more forces installation of the big shadow.

The result was much more surprising though. Letting busybox provide 
"shadow" resulted in failing to build the rootfs. The "adduser" command 
did not work on the host. This was very unexpected - does shadow deliver 
something into the sysroot that adduser.bbclass needs?

How can I get rid of the shadow package?

-- 
Mike Looijmans


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-17  6:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 15:04 Living without shadow Mike Looijmans
2014-05-16 17:23 ` Mark Hatle
2014-05-17  6:41   ` Mike Looijmans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox