poky/scripts/lib/wic
Enrico Jörns a9517d232e 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: a1cbf4d5ea5f852144d0cc70be99d6338c618fcd)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f31cf475d0235f42d73aeec07694f79b9937fd76)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
..
canned-wks wic: Add console parameters to qemux86 canned-wks 2023-10-04 23:05:54 +01:00
plugins wic: bootimg-efi: fix error handling 2024-08-01 06:08:09 -07:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic: engine.py: use raw string for escape sequence 2024-07-17 05:36:13 -07:00
filemap.py filemap.py: enforce maximum of 4kb block size 2023-03-27 15:44:02 +01:00
help.py wic: fix a typo in help output 2023-10-10 12:56:39 +01:00
ksparser.py wic: Add gpt-hybrid partition layout 2023-09-02 11:47:50 +01:00
misc.py bmaptool: now part of Yocto Project 2024-03-05 12:24:50 +00:00
partition.py wic/partition.py: Set hash_seed for empty ext partition 2024-07-03 06:28:37 -07:00
pluginbase.py scripts: Update to use exec_module() instead of load_module() 2022-01-05 17:18:16 +00:00