From: Thomas Schmitt via Grub-devel <grub-devel@gnu.org>
To: grub-devel@gnu.org
Cc: Thomas Schmitt <scdbackup@gmx.net>, jeffbai@aosc.io
Subject: Re: [PATCH] util/grub-mkrescue: use capitalised paths for removable EFI images
Date: Tue, 11 Jun 2024 20:35:20 +0200 [thread overview]
Message-ID: <5023315470804520899@scdbackup.webframe.org> (raw)
In-Reply-To: <cec6a1bd5304062a2ca4a288b07e02da@aosc.io>
Hi,
Mingcong Bai wrote:
> While FAT < 32 filesystems are not case sensitive (which grub-mkrescue
> creates
> as a FAT12 image via mformat with a size of 2.88MiB), it seems that
> some of Loongson's LoongArch-based firmware (namely those found on their
> latest XA61200 boards) seems to treat this file system as
> case-sensitive.
> [...]
> if (source_dirs[GRUB_INSTALL_PLATFORM_I386_EFI]
> || source_dirs[GRUB_INSTALL_PLATFORM_X86_64_EFI])
> - img_mac = grub_util_path_concat (2, core_services, "boot.efi");
> + img_mac = grub_util_path_concat (2, core_services, "BOOT.EFI");
>
> if (source_dirs[GRUB_INSTALL_PLATFORM_I386_EFI]
> && source_dirs[GRUB_INSTALL_PLATFORM_X86_64_EFI])
I think that this name does not end up in a FAT filesystem but rather
in HFS+, where it gets blessed. (It also ends up in ISO 9660.)
707: core_services = grub_util_path_concat (4, iso9660_dir, "System", "Library", "CoreServices");
753: xorriso_push ("-hfs-bless-by");
754: xorriso_push ("i");
755: xorriso_push ("/System/Library/CoreServices/boot.efi");
This xorrisofs option would not reach a file in the EFI boot image.
Have a nice day :)
Thomas
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2024-06-11 18:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 16:24 [PATCH] util/grub-mkrescue: use capitalised paths for removable EFI images Mingcong Bai
2024-06-11 18:35 ` Thomas Schmitt via Grub-devel [this message]
2024-06-13 7:40 ` Mingcong Bai
2024-06-13 8:30 ` Thomas Schmitt via Grub-devel
2024-06-13 8:37 ` jeffbai
2024-06-13 15:43 ` Thomas Schmitt via Grub-devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5023315470804520899@scdbackup.webframe.org \
--to=grub-devel@gnu.org \
--cc=jeffbai@aosc.io \
--cc=scdbackup@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.