# let me see the whole changelog now:
for line in fileinput.input('debian/changelog'):
- logger.debug('debian/changelog: %s' %(line.strip()))
+ print('debian/changelog: %s' %(line.strip()))
# set pb_suite which GitBuildPackage() will turn into PB_SUITE
# if we wrote a changelog entry, use that one
#
# Define default settings
#
-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
-
+RSYNC_SRC=/srv/mirror/liveboot
+RSYNC_FILTER=''
#
# Overwrite settings depending on profile used
#esac
# WORK IN PROGRESS
-RSYNC_SRC="$RSYNC_BASE/"
-RSYNC_DST="liveboot@riserver/liveboot/"
-RSYNC_FILTER=''
+# ri server
+RSYNC_DST1="liveboot@riserver/liveboot/"
+# pbb
+RSYNC_DST2="liveboot@10.254.1.1/livebuild/"
-figlet "this is work in progress"
+figlet "still work in progress, but... getting there"
BUILD_SCRIPT=$(mktemp)
# Mirror
#
echo
-echo "Now rsyncing results to $RSYNC_BASE ..."
-rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST && figlet "mirror OK"
+echo "Now rsyncing results to $RSYNC_DST1 ..."
+rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST1 && figlet "mirror OK"
+echo "Now rsyncing results to $RSYNC_DST1 ..."
+rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$RSYNC_DST2 && figlet "mirror OK"
#
# cleanup /srv/mirror, keep MAX number of images