]> code.ossystems Code Review - openembedded-core.git/commit
shadow: use relaxed usernames for all
authorLi Zhou <li.zhou@windriver.com>
Thu, 19 Sep 2019 06:15:20 +0000 (14:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Oct 2019 09:07:18 +0000 (10:07 +0100)
commit8adf98e63fefeaf2c841a038a4497f9845bc7b04
tree01c2f69d66473ad2bba9e313ac0aa5a84e81dff6
parent14cca8246423c3af8b8478e391daf49a908d696c
shadow: use relaxed usernames for all

The previous commit <shadow: use relaxed usernames> works only for
target. When test with configuration:
INHERIT += 'extrausers'
EXTRA_USERS_PARAMS += "useradd -p '' aBcD; "
and run "bitbake core-image-minimal", error occurs:
NOTE: core-image-minimal: Performing useradd with [
-R .../build/tmp-glibc/work/qemux86_64-wrs-linux/core-image-minimal/1.0-r0/rootfs -p '' aBcD]
useradd: invalid user name 'aBcD'

Here move the patch for using relaxed usernames from class_target to
the source code for all.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/shadow/shadow.inc