]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
mg-debian-installer-update: Log our version into our output
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 19 Jan 2017 19:47:16 +0000 (19:47 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Sun, 22 Jan 2017 23:44:34 +0000 (23:44 +0000)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
mg-debian-installer-update

index d0aabb59800bf46e7f8ba7af7d43e72c59e3180c..444f80b0bce8a023c66ea75e7cc0c58fc158b2a6 100755 (executable)
@@ -62,6 +62,7 @@ tftpdiversion=`getconfig_TftpDiVersion_suite $suite`
 dstroot=`getconfig TftpPath`/`getconfig TftpDiBase`/
 date=`date +%Y-%m-%d`
 dst=$arch/$date-$suite
+harness_rev=$(perl -e 'use Osstest; print get_harness_rev();')
 
 case "`getconfig HttpProxy`" in
 ?*)    export http_proxy=`getconfig HttpProxy` ;;
@@ -72,6 +73,9 @@ mkdir -p $dst
 cd $dst
 echo >&2 "working in $dstroot/$dst"
 
+now=$(date -R)
+echo >>osstest-touched.log "$now: $harness_rev"
+
 for f in $files; do
         echo >&2 "fetching $f"
         s=${f/:*} ; d=${f/*:}