immortalwrt/package/boot
Jax Jiang 17c597df60
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>
(cherry picked from commit 1050e66c8f)
2022-04-12 03:03:57 +08:00
..
arm-trusted-firmware-mvebu packages/boot: bump arm-trusted-firmware-mvebu version 2020-02-23 15:28:14 +08:00
arm-trusted-firmware-sunxi kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
at91bootstrap kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
fconfig treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-08 12:11:32 +08:00
grub2 x86: grub2: search for the "kernel" filesystem on all disks 2022-04-12 03:03:57 +08:00
imx-bootlets fix & merge 2019-09-30 13:21:19 +08:00
kexec-tools treewide: use new extra_command function for init 2020-11-07 19:40:54 +08:00
kobs-ng fix & merge 2019-09-30 13:21:19 +08:00
rbcfg kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
tfa-layerscape tfa-layerscape: fix build on systems without openssl headers 2022-01-01 17:32:22 +08:00
uboot-ar71xx kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-at91 kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-envtools uboot-envtools: use $(AUTORELEASE) for PKG_RELEASE 2021-01-23 20:48:20 +08:00
uboot-fritz4040 kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-imx6 kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-kirkwood kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-lantiq uboot-lantiq: danube: fix hanging lzma kernel uncompression #2 2021-12-17 18:23:33 +08:00
uboot-layerscape kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-mediatek uboot-mediatek: remove swig requirement 2020-07-24 20:02:05 +08:00
uboot-mvebu kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-mxs kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-omap uboot-omap: fix build by adding comparabilities for old dtc 2021-09-14 03:34:47 +08:00
uboot-oxnas kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
uboot-sunxi uboot-sunxi: update NanoPi R1S H5 patches 2021-10-20 00:22:05 +08:00
uboot-tegra kernel: bump to 4.14.167, 4.19.98 (#2871) 2020-01-30 01:43:29 +08:00
uboot-zynq uboot-zynq: fix build by adding comparabilities for old dtc 2021-09-14 03:32:22 +08:00