[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 06/35] mg-debian-installer-update: Log our version into our output



Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 mg-debian-installer-update | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mg-debian-installer-update b/mg-debian-installer-update
index d0aabb5..444f80b 100755
--- a/mg-debian-installer-update
+++ b/mg-debian-installer-update
@@ -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/*:}
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.