useradd-staticids.bbclass: Restore failure on missing UIDs/GIDs
A regression was introduced with commit
3149319a whereby setting
USERADD_ERROR_DYNAMIC no longer resulted in an error for users and
groups that were missing numeric UIDs and GIDs but were not mentioned
at all in any passwd or groups file.
[YOCTO #9777]
(From OE-Core rev:
adc0f830a695c417b4d282fa580c5231e1f0afbe)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit
c99750d17e7eaeaa16e5a8510d64e89cef856411)
Signed-off-by: Armin Kuster <akuster@mvista.com>