]> code.ossystems Code Review - openembedded-core.git/commit
useradd-staticids.bbclass: Do not require trailing colons
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Sat, 24 Oct 2015 09:50:17 +0000 (11:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Oct 2015 07:26:15 +0000 (07:26 +0000)
commit7754e0f71eb794f0e06a1b005e3824fac4cdac6c
treeba4d9723e5952cc08ca0d916944ceb4a9aa6710b
parentf787b688f2884ce3fa888b4041030538c7d2bf55
useradd-staticids.bbclass: Do not require trailing colons

Before, the users and groups specified in the passwd file and the
groups file had to have trailing colons to make sure there were enough
elements in the definitions, or bitbake would throw a Python
exception.  After this change one can omit the trailing colons, which
especially simplifies passwd files used only to specify static UIDs.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/useradd-staticids.bbclass