diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-07-17 14:13:34 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-18 21:26:18 +0100 |
commit | 142d40ea8b5ff074ce4c5dc6f197c3f59a411355 (patch) | |
tree | 1113985b5a61f4ca3f5b773d3d4aa543e680af9f /meta-yocto/conf/local.conf.sample.extended | |
parent | f23a47fad9eb6ccaa3514d6d5fdcf63565a3d380 (diff) | |
download | poky-142d40ea8b5ff074ce4c5dc6f197c3f59a411355.tar.gz |
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>
Diffstat (limited to 'meta-yocto/conf/local.conf.sample.extended')
-rw-r--r-- | meta-yocto/conf/local.conf.sample.extended | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended index 9717439b4a..cff79e4628 100644 --- a/meta-yocto/conf/local.conf.sample.extended +++ b/meta-yocto/conf/local.conf.sample.extended | |||
@@ -218,3 +218,18 @@ | |||
218 | # Use the following line to enable the security compiler and linker flags to your build | 218 | # Use the following line to enable the security compiler and linker flags to your build |
219 | #require conf/distro/include/security_flags.inc | 219 | #require conf/distro/include/security_flags.inc |
220 | 220 | ||
221 | # Image level user/group configuration. | ||
222 | # Inherit extrausers to make the setting of EXTRA_USERS_PARAMS effective. | ||
223 | #INHERIT += "extrausers" | ||
224 | # User / group settings | ||
225 | # The settings are sperated by the ; character. | ||
226 | # Each setting is actually a command. The supported commands are useradd, | ||
227 | # groupadd, userdel, groupdel, usermod and groupmod. | ||
228 | #EXTRA_USERS_PARAMS = "\ | ||
229 | #useradd -p '' tester; \ | ||
230 | #groupadd developers; \ | ||
231 | #userdel nobody; \ | ||
232 | #groupdel -g video; \ | ||
233 | #groupmod -g 1020 developers; \ | ||
234 | #usermod -s /bin/sh tester; \ | ||
235 | #" | ||