From 331140e892f84b70bced44a0b5d14f32ec95042e Mon Sep 17 00:00:00 2001 From: David Vincent Date: Mon, 16 Jan 2017 15:30:16 +0100 Subject: extrausers: Use static ids when available When creating users at the image level using extrausers class, the current behavior is to ignore the status of USERADDEXTENSION. This could lead to undefined behavior when static ids are expected but the system falls back to dynamic ones. Signed-off-by: David Vincent Signed-off-by: Ross Burton --- meta/classes/extrausers.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/classes/extrausers.bbclass') diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass index 402fc7d808..7709407b69 100644 --- a/meta/classes/extrausers.bbclass +++ b/meta/classes/extrausers.bbclass @@ -63,3 +63,7 @@ set_user_group () { remaining=`echo $remaining | cut -d ';' -f2-` done } + +USERADDEXTENSION ?= "" + +inherit ${USERADDEXTENSION} -- cgit v1.2.3