aboutsummaryrefslogtreecommitdiffstats
path: root/meta
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:03:44 +0000
commit71ba5ae005cb150368d641b2dd39bdaec9323068 (patch)
treeaf6cac84293f48881a44ea5be49739e0ab6aeebf /meta
parent3ec9a6288793f384bf108d7194cf50147485fa28 (diff)
downloadopenembedded-core-contrib-71ba5ae005cb150368d641b2dd39bdaec9323068.tar.gz
openembedded-core-contrib-71ba5ae005cb150368d641b2dd39bdaec9323068.tar.bz2
openembedded-core-contrib-71ba5ae005cb150368d641b2dd39bdaec9323068.zip
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. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/local.conf.sample.extended16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended
index 010bf6ca6f..92255c37d5 100644
--- a/meta/conf/local.conf.sample.extended
+++ b/meta/conf/local.conf.sample.extended
@@ -288,18 +288,18 @@
# Image level user/group configuration.
# Inherit extrausers to make the setting of EXTRA_USERS_PARAMS effective.
-#INHERIT += "extrausers"
+#IMAGE_CLASSES += "extrausers"
# User / group settings
-# The settings are sperated by the ; character.
+# The settings are separated 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 video; \
-#groupmod -g 1020 developers; \
-#usermod -s /bin/sh tester; \
+# useradd -p '' tester; \
+# groupadd developers; \
+# userdel nobody; \
+# groupdel video; \
+# groupmod -g 1020 developers; \
+# usermod -s /bin/sh tester; \
#"
# Various packages dynamically add users and groups to the system at package