]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
bblayers/makesetup: raise exceptions when errors happen
authorAlexander Kanavin <alex@linutronix.de>
Tue, 7 May 2024 11:46:21 +0000 (13:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 May 2024 08:38:19 +0000 (09:38 +0100)
commit155fe6bda2d715aa616fa8db922dbaa11ebb8080
tree9ed0c56003d532a244bfdd62976d970baf68b912
parent0fbe1766abb00edeb8ec9a0c8bdb4e723be4f352
bblayers/makesetup: raise exceptions when errors happen

Otherwise the calling code can only issue a generic, unhelpful
erorr message, and it's difficult to tell what went wrong
if logger.error output is obscured or redirected.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/bblayers/makesetup.py