Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/4] Fixes for useradd-staticids.bbclass
Date: Fri, 17 Jun 2016 15:41:02 +0200	[thread overview]
Message-ID: <cover.1466170741.git.pkj@axis.com> (raw)

The main change here is to fix the regression reported in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9777 which resulted
in setting USERADD_ERROR_DYNAMIC having no effect if the user or group
was not listed at all in a passwd or groups file.

In the ticket discussion there was also a suggestion to allow the
error to be turned into a warning. I have implemented this as well,
whereby one can now set USERADD_ERROR_DYNAMIC to either "error" or
"warn" to decide which behavior one wants. (It is of course still
possible to set it to "1" for backwards compatibility.)

The latter change requires some updates to the documentation, which is
provided in the last commit. This is intended for the yocto-docs
repository.

//Peter

The following changes since commit 4799e1e89fd9b0f8b606e3c502fe89f32d45fe76:

  gtk+3: Add patch for --disable-opengl (2016-06-17 11:17:21 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib pkj/useradd-staticids-regression
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/useradd-staticids-regression

Peter Kjellerstedt (4):
  documentation.conf: Add information about USERADD varaibles
  useradd-staticids.bbclass: Restore failure on missing UIDs/GIDs
  useradd-staticids.bbclass: Allow missing UIDs/GIDs to generate
    warnings
  Update the documentation of USERADD_ERROR_DYNAMIC

 documentation/ref-manual/ref-variables.xml | 19 +++++++++++--------
 meta/classes/useradd-staticids.bbclass     | 22 ++++++++++++++++------
 meta/conf/documentation.conf               |  4 ++++
 3 files changed, 31 insertions(+), 14 deletions(-)

-- 
2.9.0



             reply	other threads:[~2016-06-17 13:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17 13:41 Peter Kjellerstedt [this message]
2016-06-17 13:41 ` [PATCH 1/4] documentation.conf: Add information about USERADD varaibles Peter Kjellerstedt
2016-06-17 13:54   ` Mark Hatle
2016-06-17 14:49     ` Peter Kjellerstedt
2016-06-17 13:41 ` [PATCH 2/4] useradd-staticids.bbclass: Restore failure on missing UIDs/GIDs Peter Kjellerstedt
2016-06-17 13:41 ` [PATCH 3/4] useradd-staticids.bbclass: Allow missing UIDs/GIDs to generate warnings Peter Kjellerstedt
2016-06-17 13:41 ` [PATCH 4/4] Update the documentation of USERADD_ERROR_DYNAMIC Peter Kjellerstedt

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=cover.1466170741.git.pkj@axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox