From: Holger Levsen Date: Wed, 22 Aug 2012 16:18:24 +0000 (+0200) Subject: first draft of liveboot-build script X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e8a3a25d53cb61bbffe3dacd66be7c0fb27139e4;p=profitbricks%2Fjenkins-build-scripts.git first draft of liveboot-build script --- diff --git a/liveboot_build.sh b/liveboot_build.sh new file mode 100755 index 0000000..69cc10f --- /dev/null +++ b/liveboot_build.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +# copyright 2012 Holger Levsen +# 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