]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
start to move stuff outside the pbuilder chroot after building liveboot
authorHolger Levsen <holger@layer-acht.org>
Thu, 23 Aug 2012 10:29:40 +0000 (12:29 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 23 Aug 2012 10:29:40 +0000 (12:29 +0200)
liveboot_build.sh

index 26509e275b586e4ab1f3d168a674f29ad56ff2d7..c3115da89dcbd85fbe960b996c79d38790becdc6 100755 (executable)
@@ -15,6 +15,7 @@ figlet "this is work in progress"
 BUILD_SCRIPT=$(mktemp)
 
 cat > $BUILD_SCRIPT <<-EOF
+cd /srv/build/liveboot
 apt-get -y install debootstrap ldap-utils
 git clone git://git/ri/liveboot.git
 cd liveboot
@@ -22,4 +23,6 @@ git checkout feature/jenkins
 ./build.sh
 EOF
 
-sudo pbuilder --execute -- $BUILD_SCRIPT
+sudo pbuilder --bindmounts /srv/build/liveboot --execute -- $BUILD_SCRIPT
+
+ls /srv/build/liveboot/builds