summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-01 22:26:03 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-01 22:26:03 +0100
commit36eee5d89da4172a9db96cdfa50686bc334bb51e (patch)
treedc10f578209caca2d9ebb162527347fbb7c2d839 /bin
parenta0857c5ae47b44f4598a6cda1b1e17d3b3eb5701 (diff)
downloadjenkins.debian.net-36eee5d89da4172a9db96cdfa50686bc334bb51e.tar.xz
live builds: build in /srv/live-build/
Diffstat (limited to 'bin')
-rwxr-xr-xbin/live-build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/live-build.sh b/bin/live-build.sh
index 5a7f62e2..86135829 100755
--- a/bin/live-build.sh
+++ b/bin/live-build.sh
@@ -11,7 +11,7 @@ cleanup_all() {
rm -r $TMPDIR
}
-TMPDIR=$(mktemp --tmpdir=/srv/workspace -d)
+TMPDIR=$(mktemp --tmpdir=/srv/live-build -d)
trap cleanup_all INT TERM EXIT
cd $TMPDIR
@@ -21,10 +21,10 @@ cd $TMPDIR
# FIXME: do debian images too
lb config --distribution jessie --bootappend-live "boot=live config hostname=debian-edu username=debian-edu"
echo education-standalone > config/package-lists/live.list.chroot
-# FIXME add serial console
lb build
ls -la *.iso || true
-cp *.iso /srv/workspace
+mkdir -p /srv/live-build/results
+cp *.iso /srv/live-build/results
# FIXME: use subdir there... (shared with downloaded .isos?)
cleanup_all