All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Patrick Doyle" <wpdster@gmail.com>
To: Patrick Doyle <wpdster@gmail.com>
Cc: Yocto discussion list <yocto@yoctoproject.org>,
	yocto@lists.yoctoproject.org
Subject: Re: [yocto] Splitting a recipe into multiple packages and inherit extrausers
Date: Wed, 11 Mar 2020 15:38:29 -0400	[thread overview]
Message-ID: <CAF_dkJCWs+Nut5_i9nqHe0XSauf0-h4_OgZ5GdUTyRkyNMpdRQ@mail.gmail.com> (raw)
In-Reply-To: <15FB4FF4056D067E.12500@lists.yoctoproject.org>

On Wed, Mar 11, 2020 at 1:26 PM Patrick Doyle via
Lists.Yoctoproject.Org <wpdster=gmail.com@lists.yoctoproject.org>
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

           reply	other threads:[~2020-03-11 19:36 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <15FB4FF4056D067E.12500@lists.yoctoproject.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF_dkJCWs+Nut5_i9nqHe0XSauf0-h4_OgZ5GdUTyRkyNMpdRQ@mail.gmail.com \
    --to=wpdster@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.