Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCHv2 0/5] Fixes for useradd-staticids.bbclass
@ 2016-06-17 14:58 Peter Kjellerstedt
  2016-06-17 14:58 ` [PATCHv2 1/5] Update the documentation of USERADD_ERROR_DYNAMIC and USERADDEXTENSION Peter Kjellerstedt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Peter Kjellerstedt @ 2016-06-17 14:58 UTC (permalink / raw)
  To: openembedded-core

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 change to USERADD_ERROR_DYNAMIC requires some updates to the
documentation, which is provided in the final commit. This is intended
for the yocto-docs repository.

PATCHv2: Added a first commit to update the documentation of
USERADD_ERROR_DYNAMIC and USERADDEXTENSION per Mark Hatle's suggestion.
This is also 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 (5):
  Update the documentation of USERADD_ERROR_DYNAMIC and USERADDEXTENSION
  documentation.conf: Add information about USERADD variables
  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 | 27 +++++++++++++++------------
 meta/classes/useradd-staticids.bbclass     | 22 ++++++++++++++++------
 meta/conf/documentation.conf               |  4 ++++
 3 files changed, 35 insertions(+), 18 deletions(-)

-- 
2.9.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-17 14:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-17 14:58 [PATCHv2 0/5] Fixes for useradd-staticids.bbclass Peter Kjellerstedt
2016-06-17 14:58 ` [PATCHv2 1/5] Update the documentation of USERADD_ERROR_DYNAMIC and USERADDEXTENSION Peter Kjellerstedt
2016-06-17 14:59 ` [PATCHv2 2/5] documentation.conf: Add information about USERADD variables Peter Kjellerstedt
2016-06-17 14:59 ` [PATCHv2 3/5] useradd-staticids.bbclass: Restore failure on missing UIDs/GIDs Peter Kjellerstedt
2016-06-17 14:59 ` [PATCHv2 4/5] useradd-staticids.bbclass: Allow missing UIDs/GIDs to generate warnings Peter Kjellerstedt
2016-06-17 14:59 ` [PATCHv2 5/5] Update the documentation of USERADD_ERROR_DYNAMIC Peter Kjellerstedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox