fix(installer): stop Anaconda's grub2-mkconfig from aborting the install

Even with "bootloader --disabled", Anaconda runs "grub2-mkconfig -o
/etc/grub2.cfg" in the target for live installs and aborts on failure. On
an Intel RST laptop (Omen 16 Max) this crashed the install at "Installing
boot loader", before the %post that actually configures GRUB could run.
FWS never reads that file, so the shim now skips that single call.

The crash dialog only shows dasbus wrapper frames, so the FWS debug report
now also includes the tail of /tmp/anaconda-tb-*.
This commit is contained in:
nocode committed 2026-09-22 14:03:06 +02:00
1 parent cc5a01b73c
commit a9aacaa8f9
3 files changed
+24 -1

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ file_permissions=(
["/usr/local/bin/livecd-sound"]="0:0:755"
["/usr/bin/load_policy"]="0:0:755"
["/usr/bin/setstatus"]="0:0:755"
["/usr/bin/grub2-mkconfig"]="0:0:755"
["/usr/local/bin/fws-setup-hardware"]="0:0:755"
["/usr/local/bin/fws-drivers"]="0:0:755"
["/usr/local/bin/fws-intel-rst"]="0:0:755"