summaryrefslogtreecommitdiffstats
path: root/meta/classes/extrausers.bbclass
diff options
context:
space:
mode:
authorDavid Vincent <freesilicon@gmail.com>2017-01-16 14:30:16 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:47:20 (GMT)
commitf4fedefe49d4724d6086e41bfc49753eab15d3e1 (patch)
tree767a1d8b1853254065d06f3456d912c416a8b983 /meta/classes/extrausers.bbclass
parentcb10cfd64f25ad902a67997eb6a98dcfa0918cea (diff)
downloadpoky-f4fedefe49d4724d6086e41bfc49753eab15d3e1.tar.gz
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. (From OE-Core rev: 331140e892f84b70bced44a0b5d14f32ec95042e) Signed-off-by: David Vincent <freesilicon@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/extrausers.bbclass')
-rw-r--r--meta/classes/extrausers.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/extrausers.bbclass b/meta/classes/extrausers.bbclass
index 402fc7d..7709407 100644
--- a/meta/classes/extrausers.bbclass
+++ b/meta/classes/extrausers.bbclass
@@ -63,3 +63,7 @@ set_user_group () {
63 remaining=`echo $remaining | cut -d ';' -f2-` 63 remaining=`echo $remaining | cut -d ';' -f2-`
64 done 64 done
65} 65}
66
67USERADDEXTENSION ?= ""
68
69inherit ${USERADDEXTENSION}