#
# Define default settings
#
-RSYNC_BASE=/srv/mirror/live-build
-BUILD_DATE=${BUILD_DATE:=$(date +%Y%m%d%H%M)}
-BUILD_ID="${LIVE_TYPE}-${BUILD_DATE}-${BUILD_NUMBER}" # BUILD_ID is used without lb_build.sh...
-BUILD_TARGET=$RSYNC_BASE/$BUILD_ID
+RSYNC_BASE=/srv/mirror/liveboot
+# BUILD_DATE=${BUILD_DATE:=$(date +%Y%m%d%H%M)}
+# BUILD_ID="${LIVE_TYPE}-${BUILD_DATE}-${BUILD_NUMBER}" # BUILD_ID is used without lb_build.sh...
+# BUILD_TARGET=$RSYNC_BASE/$BUILD_ID
#
cat > $BUILD_SCRIPT <<-EOF
cd /srv/build
-apt-get -y install debootstrap ldap-utils
git clone git://git/ri/liveboot.git
cd liveboot
git checkout feature/jenkins