• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Mirror only - Please move to https://github.com/immortalwrt/immortalwrt


Commit MetaInfo

Revisione3d8cb5c433fd6852aba537181b4e19d48b2b052 (tree)
Zeit2022-09-20 16:38:40
AutorFlorian Eckert <fe@dev....>
CommiterTianling Shen

Log Message

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>
(cherry picked from commit 027845b4ce906a7819e12f6298b96dba0cb4a183)

Ändern Zusammenfassung

Diff

--- a/target/linux/x86/Makefile
+++ b/target/linux/x86/Makefile
@@ -20,11 +20,12 @@ include $(INCLUDE_DIR)/target.mk
2020
2121 DEFAULT_PACKAGES += partx-utils mkf2fs fdisk e2fsprogs kmod-usb-hid kmod-e1000e kmod-igb kmod-igbvf \
2222 kmod-igc kmod-ixgbe kmod-pcnet32 kmod-tulip kmod-vmxnet3 kmod-i40e kmod-iavf \
23- kmod-r8101 kmod-r8125 kmod-r8168 kmod-8139cp kmod-8139too kmod-fs-f2fs autocore-x86 \
24- automount kmod-sound-hda-core kmod-sound-hda-codec-realtek kmod-sound-hda-codec-via \
23+ kmod-r8101 kmod-r8125 kmod-r8168 kmod-8139cp kmod-8139too kmod-fs-f2fs \
24+ kmod-sound-hda-core kmod-sound-hda-codec-realtek kmod-sound-hda-codec-via \
2525 kmod-sound-via82xx kmod-sound-hda-intel kmod-sound-hda-codec-hdmi kmod-sound-i8x0 \
2626 kmod-usb-audio kmod-usb-net kmod-usb-net-asix kmod-usb-net-asix-ax88179 \
27- kmod-usb-net-rtl8150 kmod-usb-net-rtl8152-vendor kmod-mlx4-core kmod-mlx5-core
27+ kmod-usb-net-rtl8150 kmod-usb-net-rtl8152-vendor kmod-mlx4-core kmod-mlx5-core \
28+ autocore-x86 automount grub2-bios-setup
2829
2930 $(eval $(call BuildTarget))
3031