local.conf.sample.extended: add example for EXTRA_USERS_PARAMS

Add detailed explanation of EXTRA_USERS_PARAMS which is used for
image level user/group configuration.

[YOCTO #4074]

(From OE-Core rev: d9d62e05dba88c1f9f464367d49c1b290bfaea95)

(From meta-yocto rev: 3a2a7bd52e1ece5703a53113aab6aa2fc0048160)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chen Qi 2013-07-17 14:13:34 +08:00 committed by Richard Purdie
parent f23a47fad9
commit 142d40ea8b
1 changed files with 15 additions and 0 deletions

View File

@ -218,3 +218,18 @@
# Use the following line to enable the security compiler and linker flags to your build
#require conf/distro/include/security_flags.inc
# Image level user/group configuration.
# Inherit extrausers to make the setting of EXTRA_USERS_PARAMS effective.
#INHERIT += "extrausers"
# User / group settings
# The settings are sperated by the ; character.
# Each setting is actually a command. The supported commands are useradd,
# groupadd, userdel, groupdel, usermod and groupmod.
#EXTRA_USERS_PARAMS = "\
#useradd -p '' tester; \
#groupadd developers; \
#userdel nobody; \
#groupdel -g video; \
#groupmod -g 1020 developers; \
#usermod -s /bin/sh tester; \
#"