Try skipping this efibootmgr munging for a second

This commit is contained in:
David Heinemeier Hansson 2025-08-24 08:46:34 +02:00
parent fbf9a19574
commit af0f459a1a

View File

@ -85,10 +85,11 @@ EOF
fi fi
# Add UKI entry to UEFI machines to skip bootloader showing on normal boot # Add UKI entry to UEFI machines to skip bootloader showing on normal boot
if [ -n "$EFI" ] && efibootmgr &>/dev/null && ! efibootmgr | grep -q Omarchy; then # FIXME: Make this work on real hardware
sudo efibootmgr --create \ # if [ -n "$EFI" ] && efibootmgr &>/dev/null && ! efibootmgr | grep -q Omarchy; then
--disk "$(findmnt -n -o SOURCE /boot | sed 's/[0-9]*$//')" \ # sudo efibootmgr --create \
--part "$(findmnt -n -o SOURCE /boot | grep -o '[0-9]*$')" \ # --disk "$(findmnt -n -o SOURCE /boot | sed 's/[0-9]*$//')" \
--label "Omarchy" \ # --part "$(findmnt -n -o SOURCE /boot | grep -o '[0-9]*$')" \
--loader "\\EFI\\Linux\\$(cat /etc/machine-id)_linux.efi" # --label "Omarchy" \
fi # --loader "\\EFI\\Linux\\$(cat /etc/machine-id)_linux.efi"
# fi