Adding and using user in more than one recipe


Greg Wilson-Lindberg <gwilson@...>
 

Hello list,

I’m trying to understand how the extrauser and adduser packages are used and interact in kirkstone.

 

I need to add a user and I would like to also use this user in another recipe. This had been working in our previous builds using version of Yocto up to hardnot. We are in the process of updating to kirkstone and the user stuff has now broken and I am not making any sense out of the documentation.

 

How do I create a user in one recipe and then use that user in another recipe? Can I even do that, or do I need to create the user in more than one recipe with a hard coded UID, GID?

 

Regards,

Greg Wilson-LIndberg

 

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.