Skip to contentSkip to conversation

Splitting a recipe into multiple packages and inherit extrausers

yocto Patrick Doyle 1 participant 1 message Mar 11, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Patrick Doyle via Lists.Yoctoproject.Org

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