From 461c6934ec0cd444d3a0a289b22e6d3a37023690 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 7 Jan 2015 12:53:23 +0100 Subject: lvc-tests and live-build: new jobs for building and testing Debian sid xfce live .isos --- bin/live-build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin/live-build.sh') 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 -- cgit v1.2.3-54-g00ecf