difos/target/linux/x86
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
..
64 kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
base-files x86: grub2: search for the "kernel" filesystem on all disks 2022-02-24 20:45:12 +01:00
generic kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
geode x86: remove obsolete Kernel 5.4 2021-10-02 18:13:46 +02:00
image x86: grub2: search for the "kernel" filesystem on all disks 2022-02-24 20:45:12 +01:00
legacy x86: remove obsolete Kernel 5.4 2021-10-02 18:13:46 +02:00
patches-5.10 x86: remove old lzma tuning patch 2021-12-11 00:50:02 +01:00
config-5.10 kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
Makefile x86: added support to generate VHDX images 2021-12-05 18:49:14 +01:00
modules.mk Revert "gpio-cdev: add nu801 userspace driver" 2021-10-10 23:15:05 +02:00