]> code.ossystems Code Review - openembedded-core.git/commitdiff
local.conf.sample.extended: add example for EXTRA_USERS_PARAMS
authorChen Qi <Qi.Chen@windriver.com>
Wed, 17 Jul 2013 06:13:34 +0000 (14:13 +0800)
committerSaul Wold <sgw@linux.intel.com>
Thu, 18 Jul 2013 19:21:13 +0000 (12:21 -0700)
Add detailed explanation of EXTRA_USERS_PARAMS which is used for
image level user/group configuration.

[YOCTO #4074]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/conf/local.conf.sample.extended

index ef8fc9e950e21f80de701e40f66d41f77fa4e82f..f1a91ae6c6713d33fb6bed72df3a6e80784306ee 100644 (file)
 # 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; \
+#"