From 46d80752fd7e1945d31c83b23089bd38bff9a3b1 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Thu, 17 Jan 2019 03:55:00 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta-poky/conf/local.conf.sample.extended | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'meta-poky') 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 @@ # 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 -- cgit v1.2.3-54-g00ecf