]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
create_debug_archive.sh: Set DIST to squeeze.
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 28 Jul 2014 17:11:41 +0000 (19:11 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 28 Jul 2014 17:11:41 +0000 (19:11 +0200)
liveboot-dbg-tar/create_debug_archive.sh

index 507762c414f5cf10ab27a4fc3f0362c3d56e6081..4c59677e647d8580ccc3ccd9d73f22b90e15f495 100755 (executable)
@@ -2,6 +2,8 @@
 
 set -eux
 
+DIST=squeeze
+
 script_dir="$( cd "$( dirname "$0" )" && pwd )"
 liveboot_id="$LIVEBOOT_BUILD_NUMBER"
 session_id=
@@ -46,8 +48,8 @@ run_in_chroot mkdir -p "$assembledir"
 
 # Extent sources.list in chroot
 run_in_chroot bash -c "cat > /etc/apt/sources.list.d/additional.list" <<EOF
-deb http://repo.pb.local/pb-debian-dev squeeze-dev main contrib non-free
-deb http://repo.pb.local/pb-debian-dev squeeze-feature-autotest main contrib non-free
+deb http://repo.pb.local/pb-debian-dev ${DIST}-dev main contrib non-free
+deb http://repo.pb.local/pb-debian-dev ${DIST}-feature-autotest main contrib non-free
 EOF
 
 run_in_chroot apt-get install aptitude