Skip to contentSkip to conversation

mg-debian-installer-update: Allow optional suite argument

PATCH New Ian Jackson 1 participant 2 messages Jun 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mg-debian-installer-update: Allow optional suite argument

---
 mg-debian-installer-update-all |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
mg-debian-installer-update-all +6 -2
index 4e76a69..d88ebf5 100755
@@ -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"
 
Signature · 7 lines
1.7.10.4


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#1 lore raw

PATCH 2/2 production-config, -cambridge: Update TftpDiVersion_wheezy

There is a new d-i kernel for wheezy. I have set it the new d-i in Cambridge and Massachusetts using mg-debian-installer-update-all.

Use it.

---
 production-config           |    2 +-
 production-config-cambridge |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
production-config +1 -1
index 6d25fd8..d4037f9 100644
@@ -87,7 +87,7 @@ TftpPxeTemplatesReal pxelinux.cfg/%ipaddrhex%
 
 TftpPxeGroup osstest
 # Update with ./mg-debian-installer-update(-all)
-TftpDiVersion_wheezy 2015-09-07
+TftpDiVersion_wheezy 2016-06-08
 TftpDiVersion_jessie 2016-01-24
 
 # For ISO installs
production-config-cambridge +1 -1
index 41cd8aa..b12f1ba 100644
@@ -69,7 +69,7 @@ TftpPxeTemplates %name%/pxelinux.cfg
 TftpPxeTemplatesReal pxelinux.cfg/%ipaddrhex%
 
 TftpPxeGroup osstest
-TftpDiVersion_wheezy 2015-09-07
+TftpDiVersion_wheezy 2016-06-08
 TftpDiVersion_jessie 2016-01-24
 
 # For ISO installs
Signature · 7 lines
1.7.10.4


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel