Add configure option for unsuffixed GRUB2 commands
authorKenneth J. Miller <ken@miller.ec>
Thu, 18 Mar 2021 12:55:01 +0000 (13:55 +0100)
committerKenneth J. Miller <ken@miller.ec>
Thu, 18 Mar 2021 13:31:28 +0000 (14:31 +0100)
commitcfe313afae7aff392442838420125e2c73102aa9
treecaaf5626346d280ebd97c12d6a6f831751568bce
parent407477f1911499f843300956af6beb303facd06b
Add configure option for unsuffixed GRUB2 commands

GRUB starting with version 2.02 permits the use of the linux and
initrd commands for both EFI boot in *-efi installations, as
well as 32-bit BIOS boot in i386-pc installations.

This makes the use of the -16 and -efi suffixes for BIOS and EFI
boot obsolete on systems with a modern GRUB installation.

The --with-modern-grub configure flag makes ostree use the
unsuffixed linux/initrd commands when generating a GRUB
configuration, while defaulting to the previous behaviour for
users not wanted this option.
configure.ac
src/libostree/ostree-bootloader-grub2.c