Splitting a recipe into multiple packages and inherit extrausers

Patrick Doyle <wpdster@...>

I may be overthinking/overtweaking this but...

I have a recipe with that creates a number of executables, one of
which is a daemon.

I have split that daemon off into its own separate package using the
PACKAGES =+ "${PN]-blah-blah-blah" construct.

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?


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