[yocto] Extending user add

Gary Thomas gary at mlbassoc.com
Thu Mar 3 05:40:04 PST 2016


I have a recipe which creates a user on my target.  This works as expected.

Is there a way to add/adjust the home directory created for this user?  In
particular, I'd like to create/change the ~user/.ssh directory for special
SSH setups.

The package I'm building has some very special packaging requirements that I'm
having a few issues with. Can I expect this statement to work in do_install()
(or do_install_append())?
   chown newuser:newuser ${D}/somefile

Thanks



More information about the yocto mailing list