diff options
author | Mikko Ylinen <mikko.ylinen@intel.com> | 2016-10-21 10:05:45 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-28 16:15:20 +0100 |
commit | 661c855fd28be93d6e2c6086ae725f3264bfe6b3 (patch) | |
tree | f475dff7aa05f0441c0cbc3109d65fd0ff9e37de /meta/site | |
parent | f248db1972e165e007ce6377a7b1ddff336fbcbb (diff) | |
download | poky-661c855fd28be93d6e2c6086ae725f3264bfe6b3.tar.gz |
useradd-staticids.bbclass: catch missing uid/gid exceptions
The change to get rid of FuncFailed exceptions changed the behavior
of how missing uid/gid error are be handled. Instead of catching
the exception and handling that via bb.parse.SkipPackage(), a fatal
error was called.
This won't work with recipes that are unused and therefore do not have
UID/GIDs defined. The problem triggers when parsing all recipes (e.g.,
oe-selftest runs bitbake -p).
The right way to handle this is to raise bb.parse.SkipPackage(). This
will error correctly once the recipe is needed.
(From OE-Core rev: 55384cfc743a12a78bef736ee08ed453b6a6a21e)
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site')
0 files changed, 0 insertions, 0 deletions