local.conf.sample.extended: Use IMAGE_CLASSES to inherit extrausers
PATCH 1/1 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.
--- meta-poky/conf/local.conf.sample.extended | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
meta-poky/conf/local.conf.sample.extended +8 -8
@@ -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
Signature · 1 line
2.12.0
*ping*
I was going to include a link to patchwork for this patch, but I cannot find it. Actually, I cannot find where meta-poky and patches sent to this mailing list are tracked at all...
//Peter
Quoted 51 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 17 januari 2019 03:55
To: [email protected]
Subject: [poky] [PATCH] local.conf.sample.extended: UseIMAGE_CLASSESto inherit extrausersSince the extrausers class is only useful for image recipes, it is better to suggest adding it via
IMAGE_CLASSESinstead of INHERIT in the example.Also make the example a bit more readable by indenting the variable values.
Signed-off-by Peter Kjellerstedt <[email protected]>--- meta-poky/conf/local.conf.sample.extended | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)meta-poky/conf/local.conf.sample.extended +8
-9@@ -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 --2.12.0