summaryrefslogtreecommitdiff
path: root/meta/classes/tinderclient.bbclass
diff options
context:
space:
mode:
authorMikko Ylinen <mikko.ylinen@intel.com>2016-10-21 10:05:45 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-28 11:27:33 +0100
commit55384cfc743a12a78bef736ee08ed453b6a6a21e (patch)
tree9f6801c3eedb4c403612aee1b8671239e2a37f71 /meta/classes/tinderclient.bbclass
parent581a746f081a265e08b41712e7bc953f46c6e92a (diff)
downloadopenembedded-core-55384cfc743a12a78bef736ee08ed453b6a6a21e.tar.gz
openembedded-core-55384cfc743a12a78bef736ee08ed453b6a6a21e.tar.bz2
openembedded-core-55384cfc743a12a78bef736ee08ed453b6a6a21e.zip
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. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/tinderclient.bbclass')
0 files changed, 0 insertions, 0 deletions