Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2023-01-25 23:05:48 +0200
committernl6720 <nl6720@gmail.com>2023-02-22 18:27:45 +0200
commit40e09767f0cea7c4a94af98504e9c936f1dd7720 (patch)
tree0353773612dd84d6e3179addfb828000325206cc
parent7c6f266ec94e3eff23466ed8d0c45e4bee0ddae4 (diff)
mkarchiso: add more details to the comment in grub-embed.cfg
Link to the upstream issue report.
-rwxr-xr-xarchiso/mkarchiso7
1 files changed, 5 insertions, 2 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index ce89642..c116a27 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -590,10 +590,13 @@ _make_common_bootmode_grub_cfg(){
efiboot_files+=("${work_dir}/grub/"
"${profile}/grub/"!(*.cfg))
+ # Prepare grub.cfg that will be embedded inside the GRUB binaries
IFS='' read -r -d '' grubembedcfg <<'EOF' || true
if ! [ -d "$cmdpath" ]; then
- # On some firmware, GRUB has a wrong cmdpath when booted from an optical disc.
- # https://gitlab.archlinux.org/archlinux/archiso/-/issues/183
+ # On some firmware, GRUB has a wrong cmdpath when booted from an optical disc. During El Torito boot, GRUB is
+ # launched from a case-insensitive FAT-formatted EFI system partition, but it seemingly cannot access that partition
+ # and sets cmdpath to the whole cd# device which has case-sensitive ISO 9660 + Rock Ridge + Joliet file systems.
+ # See https://gitlab.archlinux.org/archlinux/archiso/-/issues/183 and https://savannah.gnu.org/bugs/?62886
if regexp --set=1:isodevice '^(\([^)]+\))\/?[Ee][Ff][Ii]\/[Bb][Oo][Oo][Tt]\/?$' "$cmdpath"; then
cmdpath="${isodevice}/EFI/BOOT"
fi