summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_usb-hdd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-30 13:50:12 +0100
committerDaniel Baumann <daniel@debian.org>2009-11-30 13:50:12 +0100
commitf749cf368350b7317ebcf481fbd6ed7567d09ac3 (patch)
treeec96d1b981cbf6cf8395b6692c354dcc4b84ff30 /helpers/lh_binary_usb-hdd
parente393e7d27b4116a5947507884704c91f69a157d9 (diff)
downloadvyos-live-build-f749cf368350b7317ebcf481fbd6ed7567d09ac3.tar.gz
vyos-live-build-f749cf368350b7317ebcf481fbd6ed7567d09ac3.zip
Adding a 'sleep 1' before removing the loopdevice when creating usb-hdd images.
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-xhelpers/lh_binary_usb-hdd2
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index 997c24b0d..c5e0ef4a6 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -167,6 +167,7 @@ case "${LH_CHROOT_BUILD}" in
;;
esac
+sleep 1
${LH_LOSETUP} -d ${FREELO}
FREELO="$(${LH_LOSETUP} -f)"
@@ -256,6 +257,7 @@ then
esac
fi
+sleep 1
${LH_LOSETUP} -d ${FREELO}
echo "!!! The above error/warning messages can be ignored !!!"