Skip to contentSkip to conversation

local.conf.sample.extended: add USER_GROUP_SETTINGS

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

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 local.conf.sample.extended: add USER_GROUP_SETTINGS

In reply to a message not in the archive

From: Chen Qi <[email protected]>

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

[YOCTO #4074]

---
 meta-yocto/conf/local.conf.sample.extended |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
meta-yocto/conf/local.conf.sample.extended +16 -0
index 07e5cf5..15cbf5e 100644
@@ -214,3 +214,19 @@
 
 # Remove the old image before the new one generated to save disk space
 #RM_OLD_IMAGE = "1"
+
+# Image level user/group settings
+# The settings are sperated by ;
+# Each setting has three fields.
+# <USER/GROUP>: this setting applies for user or group, possible values are USER and GROUP.
+# <ACTION>: possible values are ADD, DELELE and MODIFY
+# <OPT>: options for useradd/groupadd, userdel/groupdel or usermod/groupmod.
+# e.g.
+# USER_GROUP_SETTINGS = "\
+# USER,ADD,-p '' tester; \
+# GROUP,ADD,testers; \
+# USER,DEL,nobody; \
+# GROUP,DEL,-g video; \
+# GROUP,MOD,-g 1020 testers; \
+# USER,MOD,-s /bin/sh tester; \
+# "
Signature · 1 line
1.7.9.5