[yocto] useradd-example.bb

Fred Ollinger Fred.Ollinger at seescan.com
Wed Feb 14 13:02:23 PST 2018


How are you deploying the final image on your device?

________________________________
From: yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on behalf of Jean-Pierre Sainfeld <jean-pierre at anki.com>
Sent: Tuesday, February 13, 2018 1:32 PM
To: yocto at yoctoproject.org
Subject: [yocto] useradd-example.bb

Hi,
I am working on yocto system at the jethro rev level.
I am looking to use the meta-skeleton useradd-example.bb<http://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



More information about the yocto mailing list