[yocto] useradd does not creates user in rootfs but sysroot ?

Kumar, Shrawan Shrawan.Kumar at harman.com
Tue Aug 9 04:24:13 PDT 2016


Dear Team,

Downloaded   " krogoth" release ,  with intension  to use the above bb  file  to create users( user1,user2 etc.)  The expectation was that the users should get created in the "rootfs" .
But to dismay, this get created in the sysroot (poky/build/tmp/sysroots/qemux86/etc/passwd).

This works as expected in  "jethro"  release.  Do we have alternate way to achieve the same in  " krogoth" release   ?

Regards
Shrawan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160809/091ca7f9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: useradd-example.bb
Type: application/octet-stream
Size: 2652 bytes
Desc: useradd-example.bb
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160809/091ca7f9/attachment.obj>


More information about the yocto mailing list