]> git.ipfire.org Git - thirdparty/grub.git/commit
blsuki: Check for mounted /boot in emu
authorRobbie Harwood <rharwood@redhat.com>
Tue, 12 Aug 2025 03:45:35 +0000 (03:45 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 4 Sep 2025 12:37:20 +0000 (14:37 +0200)
commit5190df8510fb4ef762497902ddbfdcccbb56404a
tree28e8b308092fa696bdadf56660d4d1cc2a33384f
parent51b9601320dca01bada22804058f5ca8163089d3
blsuki: Check for mounted /boot in emu

Irritatingly, BLS defines paths relative to the mountpoint of the
filesystem which contains its snippets, not / or any other fixed
location. So grub-emu needs to know whether /boot is a separate
filesystem from / and conditionally prepend a path.

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Signed-off-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/Makefile.core.def
grub-core/commands/blsuki.c
grub-core/osdep/linux/getroot.c
grub-core/osdep/unix/getroot.c
include/grub/emu/misc.h