]> code.ossystems Code Review - openembedded-core.git/commit
extrausers: Use static ids when available
authorDavid Vincent <freesilicon@gmail.com>
Mon, 16 Jan 2017 14:30:16 +0000 (15:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:45:42 +0000 (22:45 +0000)
commit331140e892f84b70bced44a0b5d14f32ec95042e
tree00df61ae0f252762100a576d469ecbd1679f0b3e
parent57b05e924bba7b2fff07a34690474c0fa3046865
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 <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/extrausers.bbclass
meta/classes/useradd-staticids.bbclass