alpine-installer: umount efivars dir in case of writing to nvram
This commit is contained in:
parent
6910bd8931
commit
1bcd1b90b4
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue