summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build_sdk.py
diff options
context:
space:
mode:
authorEnrico Jörns <ejo@pengutronix.de>2024-06-04 10:06:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-06 11:56:04 +0100
commit1d5b4d19c731da04a29d0a8a7eacf4016eee0406 (patch)
treeb92395ea0d2d9caff908796ad9a959b0871161c7 /scripts/lib/devtool/build_sdk.py
parent4f600110ee34eca75bfcfd378bc543664715ef63 (diff)
downloadpoky-1d5b4d19c731da04a29d0a8a7eacf4016eee0406.tar.gz
wic: bootimg-efi: fix error handling
If we check for empty variables, it does not make sense to print their content in case they are empty. Additionally, the error message in the 'kernel' check attempted to print the wrong variable ('target') which was not even defined, yet. Also, raising WicError doesn't require an extra newline. (From OE-Core rev: f31cf475d0235f42d73aeec07694f79b9937fd76) Signed-off-by: Enrico Jörns <ejo@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_sdk.py')
0 files changed, 0 insertions, 0 deletions