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;
|
grub.zfsSupport = true;
|
||||||
# for systemd-autofs
|
# for systemd-autofs
|
||||||
grub.extraPrepareConfig = ''
|
grub.extraPrepareConfig = ''
|
||||||
mkdir -p /boot/efis /boot/efi
|
mkdir -p /boot/efis
|
||||||
for i in /boot/efis/*; do mount $i ; done
|
for i in /boot/efis/*; do mount $i ; done
|
||||||
mount /boot/efi
|
|
||||||
'';
|
'';
|
||||||
grub.extraInstallCommands = ''
|
grub.extraInstallCommands = ''
|
||||||
export ESP_MIRROR=$(mktemp -d -p /tmp)
|
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
|
for i in ${DISK}; do
|
||||||
umount /mnt/boot/efis/${i##*/}-part1
|
umount /mnt/boot/efis/${i##*/}-part1
|
||||||
done
|
done
|
||||||
umount /mnt/boot/efi
|
|
||||||
|
|
||||||
#. Destroy boot pool::
|
#. 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
|
mount ${i}-part1 /mnt/boot/efis/${i##*/}-part1
|
||||||
done
|
done
|
||||||
|
|
||||||
mount -t vfat ${INST_PRIMARY_DISK}-part1 /mnt/boot/efi
|
|
||||||
|
|
||||||
#. As keys are stored in initrd,
|
#. As keys are stored in initrd,
|
||||||
set secure permissions for ``/boot``::
|
set secure permissions for ``/boot``::
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ Finish installation
|
|||||||
#. Unmount EFI system partition::
|
#. Unmount EFI system partition::
|
||||||
|
|
||||||
umount /mnt/boot/efis/*
|
umount /mnt/boot/efis/*
|
||||||
umount /mnt/boot/efi
|
|
||||||
|
|
||||||
#. Export pools::
|
#. Export pools::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user