Removing unnecessary usage mount/umounts of /boot/efi. /boot/efi is not used but /boot/efis is.

This commit is contained in:
Daniel Baker
2022-03-30 13:27:38 -07:00
committed by George Melikov
parent b29a791a6b
commit 58123389d6
3 changed files with 1 additions and 6 deletions

View File

@@ -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)

View File

@@ -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``::

View File

@@ -86,7 +86,6 @@ Finish installation
#. Unmount EFI system partition::
umount /mnt/boot/efis/*
umount /mnt/boot/efi
#. Export pools::