poky/scripts/lib/wic
Enrico Jörns 1d5b4d19c7 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>
2024-06-06 11:56:04 +01: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-06-06 11:56:04 +01: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-06-06 11:56:04 +01: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: use E2FSPROGS_FAKE_TIME and hash_seed to generate reproducible ext4 images 2023-12-21 10:38:30 +00:00
pluginbase.py scripts: Update to use exec_module() instead of load_module() 2022-01-05 17:18:16 +00:00