target/x86: add grub2-bios-setup to DEFAULT_PACKAGES
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 11 Aug 2021 09:58:45 +0000 (11:58 +0200)
committerPaul Spooren <mail@aparcar.org>
Mon, 19 Sep 2022 17:30:15 +0000 (19:30 +0200)
commit027845b4ce906a7819e12f6298b96dba0cb4a183
tree06dccc56a729f82681dccc9d8e2b309fd72de1ce
parente2ffb61821b85d1b37bfce8b874896f157441483
target/x86: add grub2-bios-setup to DEFAULT_PACKAGES

With the commit 5876d6a62fc0ae5799e7d9c896356f75c99a6f0a the command under
`/usr/sbin/grub-bios-setup` has been moved to its own package named
`grub-bios-setup`.

The script `81_upgrade_bootloader` under `/lib/preinit` is used by all
x86 targets to update the bootloader. The script is using the command
`grub-bios-setup` for this.

I get the following output at the first boot after the upgrade.
`/etc/preinit: line 9: /usr/sbin/grub-bios-setup: not found`.

To fix this, the DEFAULT_PACKAGES dependency is extended by the entry
`grub2-bios-setup` so that the missing command is installed again.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
target/linux/x86/Makefile