Archlinux mkinitcpio hook to check if the bootloader was modified and warn the user to not enter his root device password
BSD 3-Clause "New" or "Revised" License
27
stars
3
forks
source link
Install hook fails if the EFI stub location contains space #9
Closed
ranolfi closed 5 years ago
My bootloader ID is "Arch Linux".
This is how I configured my chkcryptoboot.conf file:
EFISTUB=/boot/efi/EFI/Arch\ Linux/grubx64.efi
But when running
mkinitcpio
, the chkcryptoboot hook will fail with this error in line 39:I solved this by surrounding
$EFISTUB
with double quotes in lines 39 and 49 of fileinstall/chkcryptoboot
.