summaryrefslogtreecommitdiffstats
path: root/meta-poky/conf
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2019-01-17 03:55:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-27 18:04:14 +0000
commit46d80752fd7e1945d31c83b23089bd38bff9a3b1 (patch)
tree03e1ddd0c4d4962cd6168ab5b9aaffed4f788ac3 /meta-poky/conf
parent2268bf470cb3fbb2c5d12718465b53c3fbbbb67b (diff)
downloadpoky-46d80752fd7e1945d31c83b23089bd38bff9a3b1.tar.gz
local.conf.sample.extended: Use IMAGE_CLASSES to inherit extrausers
Since the extrausers class is only useful for image recipes, it is better to suggest adding it via IMAGE_CLASSES instead of INHERIT in the example. Also make the example a bit more readable by indenting the variable values. (From meta-yocto rev: 7905aa1ff174e66c5c520b2a4fcc1f0d3863baad) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/conf')
-rw-r--r--meta-poky/conf/local.conf.sample.extended16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-poky/conf/local.conf.sample.extended b/meta-poky/conf/local.conf.sample.extended
index 1b0b75c787..87d211db30 100644
--- a/meta-poky/conf/local.conf.sample.extended
+++ b/meta-poky/conf/local.conf.sample.extended
@@ -290,18 +290,18 @@
290 290
291# Image level user/group configuration. 291# Image level user/group configuration.
292# Inherit extrausers to make the setting of EXTRA_USERS_PARAMS effective. 292# Inherit extrausers to make the setting of EXTRA_USERS_PARAMS effective.
293#INHERIT += "extrausers" 293#IMAGE_CLASSES += "extrausers"
294# User / group settings 294# User / group settings
295# The settings are sperated by the ; character. 295# The settings are separated by the ; character.
296# Each setting is actually a command. The supported commands are useradd, 296# Each setting is actually a command. The supported commands are useradd,
297# groupadd, userdel, groupdel, usermod and groupmod. 297# groupadd, userdel, groupdel, usermod and groupmod.
298#EXTRA_USERS_PARAMS = "\ 298#EXTRA_USERS_PARAMS = "\
299#useradd -p '' tester; \ 299# useradd -p '' tester; \
300#groupadd developers; \ 300# groupadd developers; \
301#userdel nobody; \ 301# userdel nobody; \
302#groupdel video; \ 302# groupdel video; \
303#groupmod -g 1020 developers; \ 303# groupmod -g 1020 developers; \
304#usermod -s /bin/sh tester; \ 304# usermod -s /bin/sh tester; \
305#" 305#"
306 306
307# Various packages dynamically add users and groups to the system at package 307# Various packages dynamically add users and groups to the system at package