Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCHv2 0/1] Fix for useradd-staticids.bbclass
@ 2015-10-24  9:50 Peter Kjellerstedt
  2015-10-24  9:50 ` [PATCHv2 1/1] useradd-staticids.bbclass: Do not require trailing colons Peter Kjellerstedt
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Kjellerstedt @ 2015-10-24  9:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

This change corrects useradd-staticids.bbclass to allow user and group
files without trailing colons. Previously one had to write:

foo::123::::

in the group file to define the static UID for a user or one would
receive a Python exception. With this change applied one can instead
write:

foo::123

The change is of course backwards compatible so the old format is
still valid.

//Peter

The following changes since commit 505a82673ac2487df5ea343a6422c2fc47018831:

  build-appliance-image: Update to jethro head revision (2015-10-21 23:13:11 +0100)

are available in the git repository at:

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

Peter Kjellerstedt (1):
  useradd-staticids.bbclass: Do not require trailing colons

 meta/classes/useradd-staticids.bbclass | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

-- 
2.1.0



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

end of thread, other threads:[~2015-10-24  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-24  9:50 [PATCHv2 0/1] Fix for useradd-staticids.bbclass Peter Kjellerstedt
2015-10-24  9:50 ` [PATCHv2 1/1] useradd-staticids.bbclass: Do not require trailing colons Peter Kjellerstedt

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