]> code.ossystems Code Review - openembedded-core.git/commit
grub-efi-cfg: enable per-label APPEND override
authorRich Persaud <rp@stacktrust.org>
Mon, 9 Mar 2020 22:44:57 +0000 (18:44 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Mar 2020 11:44:12 +0000 (11:44 +0000)
commit20ad7705d1060300d53304c259b1f07d04b86eba
treebcf76b2cf3aadb6efc5fb9447a4e7b34ea769f42
parent6bf3e3db355643c4b2e20346230c09e45e519035
grub-efi-cfg: enable per-label APPEND override

For legacy bios boot configurations, syslinux supports multiple
labels with per-label APPEND definitions.  grub-efi-cfg supports
multiple labels, but only a single APPEND definition.

Enable optional per-label APPEND definitions for grub EFI, with
variable names prefixed by "grub_" to isolate grub definitions from
syslinux defintions.

Example use from an ISO image recipe that inherits grub-efi-cfg:

 LABELS_LIVE="foo bar"
 APPEND_grub_foo = "linuxcmdline"

No change in behavior for those using APPEND without overrides.

Signed-off-by: Rich Persaud <rp@stacktrust.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/grub-efi-cfg.bbclass