poky/scripts/lib/wic/plugins/source
Igor Opaniuk 8b22b1239b wic: bootimg-efi: Support + symbol in filenames
Allow the '+' symbol as a valid character in filenames listed in the
IMAGE_EFI_BOOT_FILES variable.

The '+' symbol might be used to support boot counting for boot entries,
as described in the UAPI Boot Loader Specification [1]:

The boot counting data is stored in the name of the boot loader entry.
A boot loader entry file name may contain a plus (+) followed by a
number. This may optionally be followed by a minus (-)
followed by a second number. The dot (.) and file name suffix
(conf or efi) must immediately follow.
Boot counting is enabled for entries which match this pattern.

Example:
IMAGE_EFI_BOOT_FILES:append = " entry.conf;loader/entries/entry+3.conf"

[1] https://uapi-group.org/specifications/specs/boot_loader_specification/#boot-counting
(From OE-Core rev: 081fa0ebb33dbbfd0f6e8239690261c0a9dcdb2c)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3f25822281eb9423ff86105eaebb0bed48663648)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-04-28 08:18:53 -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: Support + symbol in filenames 2025-04-28 08:18:53 -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