summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-07 12:53:23 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-07 12:53:23 +0100
commit461c6934ec0cd444d3a0a289b22e6d3a37023690 (patch)
tree88063c2cb485b2d9fd7a5f8c6d89676e14ae2985 /bin
parentec22daac8c985d4fd589f2dd5c44c9fd538d83ca (diff)
downloadjenkins.debian.net-461c6934ec0cd444d3a0a289b22e6d3a37023690.tar.xz
lvc-tests and live-build: new jobs for building and testing Debian sid xfce live .isos
Diffstat (limited to 'bin')
-rwxr-xr-xbin/live-build.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/live-build.sh b/bin/live-build.sh
index f5163eca..e28c80ba 100755
--- a/bin/live-build.sh
+++ b/bin/live-build.sh
@@ -16,9 +16,10 @@ cd $TMPDIR
trap cleanup_all INT TERM EXIT
# $1 is used for the hostname and username
-# $2 is choosing the flavor
-lb config --distribution jessie --bootappend-live "boot=live config hostname=$1 username=$1"
-case "$2" in
+# $2 is used for the suite
+# $3 is choosing the flavor
+lb config --distribution $2 --bootappend-live "boot=live config hostname=$1 username=$1"
+case "$3" in
standalone) echo education-standalone > config/package-lists/live.list.chroot
;;
gnome) echo gnome > config/package-lists/live.list.chroot
@@ -29,7 +30,7 @@ case "$2" in
esac
sudo lb build
mkdir -p /srv/live-build/results
-cp -v live-image-amd64.hybrid.iso /srv/live-build/results/$1_$2_live_amd64.iso
+cp -v live-image-amd64.hybrid.iso /srv/live-build/results/$1_$2_$3_live_amd64.iso
cleanup_all
trap - INT TERM EXIT