Commit Graph

4 Commits

Author SHA1 Message Date
Javier Martinez Canillas
fbedc324c5
Drop the id field from generated BLS snippets
The id field was used to sort the menu entries and to be used as the menu
entries id. But now the BLS filename is used for that, so drop this field.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-07-12 12:58:27 -04:00
Peter Jones
92fea70c5b Make BLS 'id' and 'version' fields include if it's a debug variant or not.
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-03-20 11:08:59 -04:00
Javier Martinez Canillas
2531049324
Include version field to generated BLS configuration fragment
The BootLoaderSpec defines an optional version field that contains a human
readable version string for the menu item. This can be used by bootloaders
to set the boot menu item names instead of the optional title field.

For example the zipl bootloader used by s390x architecture doesn't support
names that contains spaces, so it uses the kernel version as the item name.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2018-03-19 18:27:40 +01:00
Peter Jones
08732ed826 Generate BootLoaderSpec config fragments
The BootLoaderSpec (BLS) defines a scheme where different bootloaders can
share a format for boot items and a configuration directory that accepts
these common configurations as drop-in files [0].

Generate BLS snippets at build time that can be copied on kernel install,
so bootloaders can parse to create menu entries using this information.

[0]: https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-02-19 10:47:31 -05:00