fixed uuid in chroot
parent
34aa6644ca
commit
e230b6332a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue