]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
first draft of liveboot-build script
authorHolger Levsen <holger@layer-acht.org>
Wed, 22 Aug 2012 16:18:24 +0000 (18:18 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 22 Aug 2012 16:18:24 +0000 (18:18 +0200)
liveboot_build.sh [new file with mode: 0755]

diff --git a/liveboot_build.sh b/liveboot_build.sh
new file mode 100755 (executable)
index 0000000..69cc10f
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# copyright 2012 Holger Levsen <holger@layer-acht.org>
+# GPL2 licenced
+
+
+set -e
+export
+
+export DIST=squeeze 
+export PB_SUITE=production-proposed-updates
+
+figlet "this is work in progress"
+
+BUILD_SCRIPT=$(mktemp)
+
+cat > $BUILD_SCRIPT <<-EOF
+apt-get -y install debootstrap ldap-utils
+git clone git://git/ri/liveboot.git
+cd liveboot
+git checkout features/jenkins
+./build.sh
+EOF
+
+pbuilder --execute -- $BUILD_SCRIPT