summaryrefslogtreecommitdiff
path: root/configs/releng/build.sh
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-04-21 07:57:29 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-04-21 19:24:30 -0300
commitdced05a84735ce135fb7deace7e28e6384e68b51 (patch)
treefc9c28863ba4f2294bf090ce3925a4184a8aecee /configs/releng/build.sh
parent49bd7ce4bd94a366aaa9e6a6b64f21fa8144cc74 (diff)
downloadarchiso32-dced05a84735ce135fb7deace7e28e6384e68b51.tar.xz
explicitly detach loop device on umount
I see cases where a stale loop device stays around and fills up my partition as image file is still in use and does not get unlinked. Explicitly detach loop device on umount to fix that. Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'configs/releng/build.sh')
-rwxr-xr-xconfigs/releng/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 5590163..86cdb08 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -190,7 +190,7 @@ make_efiboot() {
cp ${work_dir}/iso/EFI/shellx64_v2.efi ${work_dir}/efiboot/EFI/
cp ${work_dir}/iso/EFI/shellx64_v1.efi ${work_dir}/efiboot/EFI/
- umount ${work_dir}/efiboot
+ umount -d ${work_dir}/efiboot
}
# Build airootfs filesystem image