alpine-installer: umount efivars dir in case of writing to nvram

This commit is contained in:
Nico Schottelius 2024-01-06 17:11:37 +01:00
parent 6910bd8931
commit 1bcd1b90b4
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ case "$BOOT_VIA" in
sudo mount --bind ${dir} ${rootfs_tmpdir}${dir}
run_root apk add efibootmgr
run_root grub-install --efi-directory=/boot
sudo umount ${rootfs_tmpdir}${dir}
else
run_root grub-install --efi-directory=/boot --no-nvram