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"
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/