]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wic: bootimg-efi: Support + symbol in filenames
authorIgor Opaniuk <igor.opaniuk@foundries.io>
Thu, 6 Feb 2025 20:05:18 +0000 (21:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Feb 2025 13:02:38 +0000 (13:02 +0000)
commit3f25822281eb9423ff86105eaebb0bed48663648
tree0e775e6e7d35dce14a855dbd40436116f9192634
parent3c311fbf0c2090268e9b83123d762b05b61b4074
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
Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/source/bootimg-efi.py