openwrt/package/boot
Jax Jiang 1050e66c8f x86: grub2: search for the "kernel" filesystem on all disks
Previously, grub2 was hardcoded to always look on "hd0" for the
kernel.

This works well when the system only had a single disk.
But if there was a second disk/stick present, it may have look
on the wrong drive because of enumeration races.

This patch utilizes grub2 search function to look for a filesystem
with the label "kernel". This works thanks to existing setup in
scripts/gen_image_generic.sh. Which sets the "kernel" label on
both the fat and ext4 filesystem variants.

Signed-off-by: Jax Jiang <jax.jiang.007@gmail.com>
Suggested-by: Alberto Bursi <bobafetthotmail@gmail.com> (MX100 WA)
(word wrapped, slightly rewritten commit message, removed MX100 WA)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-02-24 20:45:12 +01:00
..
arm-trusted-firmware-bcm63xx
arm-trusted-firmware-mediatek
arm-trusted-firmware-mvebu
arm-trusted-firmware-rockchip
arm-trusted-firmware-sunxi
arm-trusted-firmware-tools
at91bootstrap at91: add support for sama7g5-ek board 2022-02-24 19:05:29 +01:00
fconfig
grub2 x86: grub2: search for the "kernel" filesystem on all disks 2022-02-24 20:45:12 +01:00
imx-bootlets
kexec-tools
kobs-ng
mt7623n-preloader
tfa-layerscape
uboot-at91 at91: add support for sama7g5-ek board 2022-02-24 19:05:29 +01:00
uboot-envtools
uboot-fritz4040
uboot-imx
uboot-kirkwood
uboot-lantiq
uboot-layerscape
uboot-mediatek
uboot-mvebu
uboot-mxs
uboot-omap
uboot-oxnas
uboot-ramips
uboot-rockchip
uboot-sunxi
uboot-tegra
uboot-zynq