]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
cleanup
authorHolger Levsen <holger@layer-acht.org>
Thu, 21 Jun 2012 11:58:24 +0000 (13:58 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 21 Jun 2012 11:58:24 +0000 (13:58 +0200)
live_build.sh

index f16f6f0d9045c700fbe87a4780c7aaa38c0c88fe..8bac72b1df06e0c863fb1ea59138f276df6192f3 100755 (executable)
@@ -3,16 +3,13 @@
 
 set -e
 
-pwd
-ls
-whoami
-sudo whoami
+
 cd pserver.flexible
+sudo bash ./lb_build.sh mrproper
 sudo bash ./lb_build.sh
 ls -larth tftpboot/debian-live/amd64/
 ls -larth binary/live/
 
-
 figlet "success"
 
 BUILDDATE=$(date +%Y%m%d%H%M)
@@ -28,7 +25,6 @@ cp -v tftpboot/debian-live/amd64/initrd.img-3* tftpboot/debian-live/amd64/vmlinu
 cp -v binary/live/filesystem.squashfs $BUILD_TARGET/
 
 echo "Now rsyncing results to mgmt1..."
-#rsync --password-file /etc/rsynclivebuild-send.pass -av --delete /srv/mirror/live-build/ rsync://livebuild@10.1.1.1/livebuild/*
-rsync --password-file /etc/rsynclivebuild-send.pass -av /srv/mirror/live-build/ rsync://livebuild@10.1.1.1/livebuild/*
+rsync --password-file /etc/rsynclivebuild-send.pass -av --delete /srv/mirror/live-build/ rsync://livebuild@10.1.1.1/livebuild/*
 
 figlet "rsync success"