BuildLiveCD: Time out lockfile after 12 hours, which should be enough

for even the longest build queue to clear.
ubuntu/trusty
Colin Watson 12 years ago
parent 0eb9748538
commit 80b0abec4e

@ -97,7 +97,8 @@ fi
FS="$1" FS="$1"
shift shift
lockfile ~/buildLiveCD.lock || exit 1 # 12 hours should be enough for even the longest build queue to clear.
lockfile -8 -r$((12 * 60 * 60 / 8)) ~/buildLiveCD.lock || exit 1
trap "finish" 0 trap "finish" 0
trap "rm -f ~/buildLiveCD.lock; exit 1" 1 2 3 15 trap "rm -f ~/buildLiveCD.lock; exit 1" 1 2 3 15
exec > $BUILD_LOG 2>&1 exec > $BUILD_LOG 2>&1

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.135) UNRELEASED; urgency=low
* BuildLiveCD: Time out lockfile after 12 hours, which should be enough
for even the longest build queue to clear.
-- Colin Watson <cjwatson@ubuntu.com> Wed, 22 May 2013 17:32:23 +0100
livecd-rootfs (2.134) saucy; urgency=low livecd-rootfs (2.134) saucy; urgency=low
* remove qt5-proper PPA from ubuntu touch builds * remove qt5-proper PPA from ubuntu touch builds

Loading…
Cancel
Save