Skip to contentSkip to conversation

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

PATCH Superseded [email protected] 1 participant 1 message Jul 12, 2013 1 message not in the archive

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v4 1/1 local.conf.sample.extended: add example for EXTRA_USERS_PARAMS

From: Chen Qi <[email protected]>

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

[YOCTO #4074]

---
 meta-yocto/conf/local.conf.sample.extended |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)
meta-yocto/conf/local.conf.sample.extended +17 -0
index 9717439..25f0e38 100644
@@ -218,3 +218,20 @@
 # 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 ;
+# Each setting has two fields which are separeted by comma.
+# <CMD>: the command used for this setting, possible values are useradd, groupadd,
+#        userdel, groupdel, usermod and groupmod.
+# <OPTS>: options for the command
+#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