immortalwrt/package
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
..
base-files base-files: sysupgrade: fixes not found error 2022-04-02 00:38:40 +08:00
boot x86: grub2: search for the "kernel" filesystem on all disks 2022-04-12 03:03:57 +08:00
devel gdb: The signal definitions of musl and gdb collide 2022-04-04 22:09:04 +08:00
emortal autocore: backport changes from master 2022-04-09 00:14:42 +08:00
firmware firmware: intel-microcode: update to 20220207 2022-04-11 22:45:36 +08:00
kernel r8152: fix build under kernel 4.14 2022-04-08 00:42:04 +08:00
libs toolchain: reproducible libstdcpp 2022-04-04 17:20:07 +08:00
network firewall: refresh patches 2022-04-06 23:51:19 +08:00
system iucode-tool: fix host-compile on macos and non-x86 linux 2022-04-11 22:44:14 +08:00
utils busybox: Fix snprintf arguments in lock 2022-04-04 17:18:55 +08:00
Makefile build: fix opkg install step for large package selection 2021-05-12 23:27:23 +08:00