Removing unnecessary usage mount/umounts of /boot/efi. /boot/efi is not used but /boot/efis is.
This commit is contained in:
committed by
George Melikov
parent
b29a791a6b
commit
58123389d6
@@ -334,9 +334,8 @@ System Configuration
|
||||
grub.zfsSupport = true;
|
||||
# for systemd-autofs
|
||||
grub.extraPrepareConfig = ''
|
||||
mkdir -p /boot/efis /boot/efi
|
||||
mkdir -p /boot/efis
|
||||
for i in /boot/efis/*; do mount $i ; done
|
||||
mount /boot/efi
|
||||
'';
|
||||
grub.extraInstallCommands = ''
|
||||
export ESP_MIRROR=$(mktemp -d -p /tmp)
|
||||
|
||||
@@ -78,7 +78,6 @@ root pool will be replaced by keyfile, embedded in initrd.
|
||||
for i in ${DISK}; do
|
||||
umount /mnt/boot/efis/${i##*/}-part1
|
||||
done
|
||||
umount /mnt/boot/efi
|
||||
|
||||
#. Destroy boot pool::
|
||||
|
||||
@@ -161,8 +160,6 @@ root pool will be replaced by keyfile, embedded in initrd.
|
||||
mount ${i}-part1 /mnt/boot/efis/${i##*/}-part1
|
||||
done
|
||||
|
||||
mount -t vfat ${INST_PRIMARY_DISK}-part1 /mnt/boot/efi
|
||||
|
||||
#. As keys are stored in initrd,
|
||||
set secure permissions for ``/boot``::
|
||||
|
||||
|
||||
@@ -86,7 +86,6 @@ Finish installation
|
||||
#. Unmount EFI system partition::
|
||||
|
||||
umount /mnt/boot/efis/*
|
||||
umount /mnt/boot/efi
|
||||
|
||||
#. Export pools::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user