poky/scripts/lib/wic/plugins/source
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
..
bootimg-biosplusefi.py wic/plugins: Source that support both EFI and BIOS 2019-07-23 22:26:28 +01:00
bootimg-efi.py wic: bootimg-efi: fix error handling 2024-08-01 06:08:09 -07:00
bootimg-partition.py wic: bootimg-partition allow to set var to get boot files 2024-03-26 17:10:51 +00:00
bootimg-pcbios.py wic: add support for proper kernel name to bootimg-pcbios 2023-05-04 12:37:00 +01:00
empty.py wic: 'empty' plugin: fix typo in comment 2024-02-27 11:35:43 +00:00
isoimage-isohybrid.py scripts: Add copyright statements to files without one 2022-08-12 11:58:01 +01:00
rawcopy.py wic: rawcopy: add support for zstd decompression 2023-11-27 22:54:59 +00:00
rootfs.py wic: honor the SOURCE_DATE_EPOCH in case of updated fstab 2022-10-26 12:28:39 +01:00