lede/target/linux/x86
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
..
64 x86: improve Intel gen 11/12th GPU i915 and GVT-g capability 2022-02-12 20:29:20 +08:00
base-files x86: improve sysinfo handling of dummy values 2022-01-11 11:25:15 +08:00
generic kernel: add miss console config for kernel 5.15 (#8859) 2022-02-11 15:06:35 +08:00
geode x86: make 32bit available in 5.15 2022-01-02 21:26:15 +08:00
image x86: grub2: search for the "kernel" filesystem on all disks 2022-02-26 05:46:11 +00:00
legacy kernel: add miss console config for kernel 5.15 (#8859) 2022-02-11 15:06:35 +08:00
patches-5.4 Bypassing the HH3K up to 2.5Gbps using a BCM578xx (#8377) 2021-12-02 22:24:37 +08:00
patches-5.10 bnx2x 2.5G SGMII patch (#8745) 2022-01-23 21:41:52 +08:00
patches-5.15 kernel: bump 5.15 to 5.15.18 (#8805) 2022-02-01 07:22:52 +08:00
config-5.4 x86: add missing symbol 2021-09-24 22:01:18 +08:00
config-5.10 x86: add missing kernel config 2021-09-24 17:35:44 +08:00
config-5.15 x86: make 32bit available in 5.15 2022-01-02 21:26:15 +08:00
Makefile x86: switch to kernel 5.15 2022-02-25 18:16:18 +08:00
modules.mk x86: add linux kernel 5.15 support 2021-12-30 20:06:47 +08:00