From 5bbb9eb3841f08de8a7d2ebd31dda39ce7b7ec51 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 21 Jun 2012 13:58:24 +0200 Subject: [PATCH] cleanup --- live_build.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/live_build.sh b/live_build.sh index f16f6f0..8bac72b 100755 --- a/live_build.sh +++ b/live_build.sh @@ -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" -- 2.39.5