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

[Xen-devel] [OSSTEST PATCH 1/2] mg-debian-installer-update: Allow optional suite argument



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

diff --git a/mg-debian-installer-update-all b/mg-debian-installer-update-all
index 4e76a69..d88ebf5 100755
--- a/mg-debian-installer-update-all
+++ b/mg-debian-installer-update-all
@@ -1,6 +1,6 @@
 #!/bin/bash
 # usage
-#   ./mg-debian-installer-update-all
+#   ./mg-debian-installer-update-all [<suite>]
 
 # This is part of "osstest", an automated testing framework for Xen.
 # Copyright (C) 2015 Citrix Inc.
@@ -22,7 +22,11 @@ set -e -o posix
 
 . ./cri-getconfig
 
-suite=`getconfig DebianSuite`
+suite=$1
+if [ "x$suite" = x ]; then
+    suite=`getconfig DebianSuite`
+fi
+
 fws=`getconfig DebianNonfreeFirmware`
 arches="arm64 armhf amd64 i386"
 
-- 
1.7.10.4


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

 


Rackspace

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