Re: Splitting a recipe into multiple packages and inherit extrausers


Patrick Doyle <wpdster@...>
 

On Wed, Mar 11, 2020 at 1:26 PM Patrick Doyle via
Lists.Yoctoproject.Org <wpdster=gmail.com@...>
wrote:
I want the daemon to run as a non-root user, so I have "inherit
extrausers" in my recipe.

Suppose I only wanted to create that extra user iff the package
containing the daemon was included in the image. Is this possible?
How?
Apparently, the answer is that I should use "inherit adduser" instead
of "inherit extrausers". See
https://www.yoctoproject.org/docs/2.7/mega-manual/mega-manual.html#ref-classes-useradd.

--wpd

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