Removed extraneous mounts
Mounts are already happening due to config in associated hardware-configuration files.
This commit is contained in:
parent
a62a059a99
commit
b098765485
|
@ -34,12 +34,6 @@
|
||||||
grub.copyKernels = true;
|
grub.copyKernels = true;
|
||||||
grub.efiSupport = true;
|
grub.efiSupport = true;
|
||||||
grub.zfsSupport = true;
|
grub.zfsSupport = true;
|
||||||
# for systemd-autofs
|
|
||||||
grub.extraPrepareConfig = ''
|
|
||||||
mkdir -p /boot/efis /boot/efi
|
|
||||||
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)
|
||||||
cp -r /boot/efis/nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX1K539085-part1/EFI $ESP_MIRROR
|
cp -r /boot/efis/nvme-SAMSUNG_MZVLW256HEHP-000L7_S35ENX1K539085-part1/EFI $ESP_MIRROR
|
||||||
|
|
|
@ -15,24 +15,6 @@
|
||||||
boot.loader.grub.copyKernels = true;
|
boot.loader.grub.copyKernels = true;
|
||||||
boot.loader.grub.efiSupport = true;
|
boot.loader.grub.efiSupport = true;
|
||||||
boot.loader.grub.zfsSupport = true;
|
boot.loader.grub.zfsSupport = true;
|
||||||
boot.loader.grub.extraPrepareConfig = ''
|
|
||||||
mkdir -p /boot/efis
|
|
||||||
for i in /boot/efis/* ; do
|
|
||||||
(mount | grep -q "$i")
|
|
||||||
isDirectoryMounted=$?
|
|
||||||
if (test $isDirectoryMounted -ne 0); then
|
|
||||||
mount "$i"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
mkdir -p /boot/efi
|
|
||||||
# mount /boot/efi
|
|
||||||
(mount | grep -q /boot/efi)
|
|
||||||
isDirectoryMounted=$?
|
|
||||||
if (test $isDirectoryMounted -ne 0); then
|
|
||||||
mount /boot/efi
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
boot.loader.grub.extraInstallCommands = ''
|
boot.loader.grub.extraInstallCommands = ''
|
||||||
ESP_MIRROR=$(mktemp -d)
|
ESP_MIRROR=$(mktemp -d)
|
||||||
cp -r /boot/efis/nvme-WDC_WDS100T2B0C-00PXH0_21111Y801086-part1/EFI $ESP_MIRROR
|
cp -r /boot/efis/nvme-WDC_WDS100T2B0C-00PXH0_21111Y801086-part1/EFI $ESP_MIRROR
|
||||||
|
|
Loading…
Reference in a new issue