From 02122171606a7eff80e07fe6a8457e399972e450 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 22 Jun 2012 13:49:43 +0200 Subject: [PATCH] export BUILD_ID as its used inside lb_build.sh --- live_build.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/live_build.sh b/live_build.sh index ffc4a10..e9992e4 100755 --- a/live_build.sh +++ b/live_build.sh @@ -11,7 +11,7 @@ fi BUILDDATE=$(date +%Y%m%d%H%M) TARGET_BASE=/srv/mirror/live-build -BUILD_ID="${LIVE_TYPE}-${BUILDDATE}-${BUILD_NUMBER}" +export BUILD_ID="${LIVE_TYPE}-${BUILDDATE}-${BUILD_NUMBER}" # BUILD_ID is used without lb_build.sh... BUILD_TARGET=$TARGET_BASE/$BUILD_ID figlet "building $LIVE_TYPE with build_id $BUILD_ID" @@ -19,9 +19,6 @@ figlet "building $LIVE_TYPE with build_id $BUILD_ID" cd pserver.flexible sudo bash ./lb_build.sh mrproper sudo bash ./lb_build.sh -p office-proxy,$LIVE_TYPE -# -# TODO: echo $BUILD_ID > $live_buildchroot/etc/profitbricks-live-build-ID -# ls -larth tftpboot/debian-live/amd64/ ls -larth binary/live/ -- 2.39.5