Skip to content

Fix for useradd-staticids.bbclass

Peter Kjellerstedt openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 0 repliesNew
  2. v11 patch 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1useradd-staticids.bbclass: Do not require trailing colonsmeta/classes/useradd-staticids.bbclass+14 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/1] Fix for useradd-staticids.bbclass

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(-)
Signature · 1 line
2.1.0