summaryrefslogtreecommitdiff
path: root/functions/losetup.sh
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-09-23 11:16:22 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2011-09-23 11:16:22 +0200
commit097f1d44ce8da48ca61dac8d2fa2363fe48c1e6b (patch)
tree9c78f8488d8abf95cc6375b5798937398627cb75 /functions/losetup.sh
parent2e73ac04b782972c1dbf35b21c4fbb198d6fa0ba (diff)
parentf8c765ea228f87733d86875eabaff0b7de780d74 (diff)
downloadlive-build-097f1d44ce8da48ca61dac8d2fa2363fe48c1e6b.zip
live-build-097f1d44ce8da48ca61dac8d2fa2363fe48c1e6b.tar.gz
Merge branch 'debian-old-2.0' into burg
Diffstat (limited to 'functions/losetup.sh')
-rwxr-xr-xfunctions/losetup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/losetup.sh b/functions/losetup.sh
index df7e2d2..4e4f2ff 100755
--- a/functions/losetup.sh
+++ b/functions/losetup.sh
@@ -16,6 +16,8 @@ Losetup ()
${LB_ROOT_COMMAND} ${LB_LOSETUP} "${DEVICE}" "${FILE}"
FDISK_OUT="$(${LB_FDISK} -l -u ${DEVICE} 2>&1)"
+
+ sleep 1
${LB_ROOT_COMMAND} ${LB_LOSETUP} -d "${DEVICE}"
LOOPDEVICE="$(echo ${DEVICE}p${PARTITION})"