Date
1 - 2 of 2
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? How? --wpd
|
|
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 "inheritApparently, 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
|
|