From 02cd228bc6c0955322454f7aa1fc71d067d3e193 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 26 Jun 2016 21:36:01 +0200 Subject: lvc: add some verbosity to make it clear what's happening to the mini.iso's Signed-off-by: Holger Levsen --- bin/d-i_build.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh index 4f8cd0c7..f644a82f 100755 --- a/bin/d-i_build.sh +++ b/bin/d-i_build.sh @@ -63,15 +63,21 @@ preserve_artifacts() { if [ -f $IMAGETAR -a "$PU_GIT_BRANCH" ] ; then [ -d ${ISO_DIR} ] || mkdir ${ISO_DIR} + echo "untaring the .iso images from $IMAGETAR:" tar -xvzf $IMAGETAR --no-anchored mini.iso + echo "sha256sum of .iso images:" sha256sum installer-*/*/images/netboot/gtk/mini.iso installer-*/*/images/netboot/mini.iso + echo "move them into place..." mv -f installer-*/*/images/netboot/gtk/mini.iso $(iso_target gtk) mv -f installer-*/*/images/netboot/mini.iso $(iso_target text) + echo "and see if they are there (listing creation time):" + ls -ltrc $ISO_DIR if [ "$HOSTNAME" = "jenkins" ] ; then # FIXME this rsync should probably be in a separate job that the one on pb10 could then depend on -- otherwise race conditions seem to lurk + echo "and rsync them to the target node ($LVC_HOST):" ssh -o 'Batchmode = yes' $LVC_HOST mkdir -p $ISO_DIR - rsync -e "ssh -o 'Batchmode = yes'" -r $ISO_DIR/ $LVC_HOST:$ISO_DIR/ + rsync -v -e "ssh -o 'Batchmode = yes'" -r $ISO_DIR/ $LVC_HOST:$ISO_DIR/ fi fi } -- cgit v1.2.3-70-g09d2