diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-12-01 23:01:22 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-12-19 15:03:56 +0000 |
commit | 8101101baa10e6690b97f5dd50ffc5632a005e9d (patch) | |
tree | 7815424cd353e2c8e2a3afe7071b492fce5a6924 /functions.sh | |
parent | e9d4a74c169286bd8d61aa0150e65db593f538d6 (diff) | |
download | mageia4arm-8101101baa10e6690b97f5dd50ffc5632a005e9d.tar mageia4arm-8101101baa10e6690b97f5dd50ffc5632a005e9d.tar.gz mageia4arm-8101101baa10e6690b97f5dd50ffc5632a005e9d.tar.bz2 mageia4arm-8101101baa10e6690b97f5dd50ffc5632a005e9d.tar.xz mageia4arm-8101101baa10e6690b97f5dd50ffc5632a005e9d.zip |
Unmount /boot/EFI before /boot
Diffstat (limited to 'functions.sh')
-rwxr-xr-x | functions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |