[yocto] useradd-example.bb

Jean-Pierre Sainfeld jean-pierre at anki.com
Tue Feb 13 13:32:33 PST 2018


Hi,
I am working on yocto system at the jethro rev level.
I am looking to use the meta-skeleton useradd-example.bb recipe
So far I have been successful in adding the required users and group
and creating files in the /usr/share directory
The current issue I am facing is the ownership of the created file
I see the right permissions at the do_install() time
however when the image is loaded in the target
those files are reverted to the root:root permissions

The requirement of our platform is that we can create specific users and
make some specific processes  and data files having the proper uid and ueid.

I have been able to do all this successfully on the target
but not through the yocto build system

Any assistance in this regard would be fantastic and very cool :-)



-- 
Jean-Pierre Sainfeld
408-508-1741
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180213/236a47ab/attachment.html>


More information about the yocto mailing list