fixed uuid in chroot

main
The_miro 2025-12-12 13:34:23 +01:00
parent 34aa6644ca
commit e230b6332a
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ if [[ "$FIDO_ROOT" == "YES" ]]; then
mkinitcpio -P
# GRUB config for encrypted root
UUID=\$(blkid -s UUID -o value $ROOT_PART)
UUID=\$(blkid -s UUID -o value "${ROOT_PART}")
sed -i "s|GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\"cryptdevice=UUID=\$UUID:cryptroot root=/dev/mapper/cryptroot\"|" /etc/default/grub
fi
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB