From 8101101baa10e6690b97f5dd50ffc5632a005e9d Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 1 Dec 2020 23:01:22 +0000 Subject: Unmount /boot/EFI before /boot --- functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index cb27a57..49faaf8 100755 --- a/functions.sh +++ b/functions.sh @@ -742,9 +742,10 @@ function unmountingPartitions() { done else if [ ${MOUNTED_BOOT:=false} = true ]; then + umount "${BUILD_PATH}/boot/EFI" udisksctl unmount -b ${BOOTP} if [ 0 -ne ${?} ]; then - error "line ${LINENO} error unmounting ${BOOT}..." + error "line ${LINENO} error unmounting ${BOOTP}..." fi sync sleep 4s -- cgit v1.2.1