poky/scripts/lib/wic
Igor Opaniuk 10870db533 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: 3f25822281eb9423ff86105eaebb0bed48663648)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-10 13:03:58 +00:00
..
canned-wks oeqa selftest uki.py: add tests for uki.bbclass 2024-10-25 15:12:22 +01:00
plugins wic: bootimg-efi: Support + symbol in filenames 2025-02-10 13:03:58 +00:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic: add WIC_SECTOR_SIZE variable 2024-10-29 11:19:57 +00:00
filemap.py filemap.py: enforce maximum of 4kb block size 2023-03-27 15:44:02 +01:00
help.py wic: add documentation for existing options to help.py 2024-12-28 10:57:00 +00: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-06-18 08:44:41 +01:00
pluginbase.py scripts: Update to use exec_module() instead of load_module() 2022-01-05 17:18:16 +00:00