From e5eaf524c0d502044be40f68d092a93260207019 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 13 Apr 2024 20:49:49 +0200 Subject: [PATCH] avoid double mounting --- usr/lib/archboot/installer/bootloader_refind.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/lib/archboot/installer/bootloader_refind.sh b/usr/lib/archboot/installer/bootloader_refind.sh index d3ab9065e..842fd671a 100644 --- a/usr/lib/archboot/installer/bootloader_refind.sh +++ b/usr/lib/archboot/installer/bootloader_refind.sh @@ -9,6 +9,8 @@ _refind_uefi() { fi _dialog --no-mouse --infobox "Setting up rEFInd now..." 3 60 _chroot_mount + # refind-install mounts devices again + umount -q "${_DESTDIR}"/{boot,efi} chroot "${_DESTDIR}" refind-install &>"${_LOG}" _chroot_umount _REFIND_CONFIG="${_DESTDIR}/${_UEFISYS_MP}/EFI/refind/refind.conf"