lede/package/boot
Jax Jiang dd0b95dbde 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-26 05:46:11 +00:00
..
arm-trusted-firmware-mediatek add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
arm-trusted-firmware-mvebu add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
arm-trusted-firmware-rockchip rockchip: add support for NanoPi R2S arm64 router board 2020-07-02 23:34:55 +08:00
arm-trusted-firmware-rockchip-vendor uboot-rockchip: update package 2021-09-29 01:01:18 +08:00
arm-trusted-firmware-sunxi add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
arm-trusted-firmware-tools add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
at91bootstrap x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
fconfig add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
grub2 x86: grub2: search for the "kernel" filesystem on all disks 2022-02-26 05:46:11 +00:00
imx-bootlets add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
kexec-tools x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
kobs-ng kobs-ng: update dependencies after 'imx6' -> 'imx' rename 2022-01-06 09:58:02 +08:00
mt7623n-preloader x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
tfa-layerscape x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
uboot-at91 treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
uboot-envtools uboot-envtools: move imx to imx_cortexa9 2022-01-06 09:59:59 +08:00
uboot-fritz4040 treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
uboot-imx uboot-imx: set BUILD_SUBTARGET to 'cortexa9' 2022-01-06 10:00:25 +08:00
uboot-kirkwood add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
uboot-lantiq treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
uboot-layerscape x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
uboot-mediatek add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
uboot-mvebu add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
uboot-mxs treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
uboot-omap treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
uboot-oxnas treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
uboot-ramips treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
uboot-rockchip rockchip:Fix doornet2 device tree (#8897) 2022-02-18 11:45:13 +08:00
uboot-sunxi x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
uboot-tegra treewide: use AUTORELEASE on all uboot-* packages (#7988) 2021-10-07 11:58:12 +08:00
uboot-zynq kernel: bump 5.4 to 5.4.83 (#6040) 2020-12-17 23:29:07 +08:00