local.conf.sample.extended: add example for EXTRA_USERS_PARAMS
PATCH v6 1/1 local.conf.sample.extended: add example for EXTRA_USERS_PARAMS
In reply to a message not in the archiveFrom: Chen Qi <[email protected]>
Add detailed explanation of EXTRA_USERS_PARAMS which is used for image level user/group configuration.
[YOCTO #4074]
Signed-off-by Chen Qi <[email protected]>
--- meta-yocto/conf/local.conf.sample.extended | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
meta-yocto/conf/local.conf.sample.extended +15 -0
@@ -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; \ +#"
Signature · 1 line
1.7.9.5