mount efi in guix-strap
This commit is contained in:
parent
1c7f17ea30
commit
516c7e1ed6
2 changed files with 13 additions and 1 deletions
|
@ -61,6 +61,10 @@ EVENT "Setting up EFI vfat"
|
|||
|
||||
mkfs.vfat "-F32" "$EFI_PARTITION"
|
||||
|
||||
EVENT "Mounting EFI"
|
||||
|
||||
mount $EFI_PARTITION /mnt/boot/efi
|
||||
|
||||
EVENT "Successfully setup efi vfat and luks"
|
||||
|
||||
echo "CRYPT_PARTITION=\"$CRYPT_PARTITION\"" >> ./guix-env
|
||||
|
|
|
@ -32,12 +32,20 @@ EOF
|
|||
read -r ANSWER
|
||||
}
|
||||
|
||||
cleanup() {
|
||||
herd stop cow-store
|
||||
umount /mnt/boot/efi
|
||||
umount /mnt
|
||||
umount /tmp
|
||||
cryptsetup close cryptroot
|
||||
}
|
||||
|
||||
welcome
|
||||
./guix-partition
|
||||
./guix-crypt
|
||||
./guix-configure
|
||||
./guix-install
|
||||
./guix-password
|
||||
cleanup
|
||||
|
||||
echo "GNU Guix has been installed, you can now reboot..."
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue