]> xenbits.xensource.com Git - osstest.git/commitdiff
Add simple helper to update DI for all architectures. flight-32111 flight-32136 flight-32137 flight-32138 flight-32139 flight-32140 flight-32141 flight-32142 flight-32143 flight-32144 flight-32145 flight-32146 flight-32147 flight-32148 flight-32149 flight-32150 flight-32151 flight-32152 flight-32153 flight-32154 flight-32155 flight-32156 flight-32157 flight-32161 flight-32162 flight-32163 flight-32164 flight-32165 flight-32166 flight-32168 flight-32169 flight-32170 flight-32171 flight-32172 flight-32173 flight-32175 flight-32176 flight-32177 flight-32178 flight-32179 flight-32180 flight-32181 flight-32182 flight-32183 flight-32184 flight-32185 flight-32186 flight-32187 flight-32188 flight-32189 flight-32190 flight-32191 flight-32192 flight-32193 flight-32194 flight-32195 flight-32196 flight-32197 flight-32198 flight-32199 flight-32200 flight-32201 flight-32202 flight-32203 flight-32204 flight-32205 flight-32206 flight-32207 flight-32208 flight-32209 flight-32210 flight-32211 flight-32212 flight-32213 flight-32214 flight-32215 flight-32216 flight-32217 flight-32218 flight-32219 flight-32220 flight-32221 flight-32222 flight-32223 flight-32224 flight-32225 flight-32226 flight-32227 flight-32228 flight-32229 flight-32230 flight-32231 flight-32232 flight-32233 flight-32234 flight-32236 flight-32237 flight-32238 flight-32239 flight-32240 flight-32241 flight-32242 flight-32243 flight-32244 flight-32245 flight-32246 flight-32247 flight-32248 flight-32249 flight-32250 flight-32251 flight-32252 flight-32253 flight-32254 flight-32255 flight-32256 flight-32257 flight-32258 flight-32259 flight-32260 flight-32261 flight-32262 flight-32263 flight-32264 flight-32265 flight-32266 flight-32267 flight-32268 flight-32270 flight-32271 flight-32272 flight-32273 flight-32274 flight-32275 flight-32276 flight-32277 flight-32278 flight-32279 flight-32280 flight-32281 flight-32282 flight-32283 flight-32284 flight-32285 flight-32286 flight-32287 flight-32288 flight-32289 flight-32290 flight-32291 flight-32292 flight-32293 flight-32294 flight-32295 flight-32296 flight-32297 flight-32298 flight-32299 flight-32300 flight-32301 flight-32302 flight-32303 flight-32304 flight-32305 flight-32306 flight-32308 flight-32309 flight-32310 flight-32311 flight-32312 flight-32313 flight-32314 flight-32315 flight-32316 flight-32317 flight-32318 flight-32319 flight-32320 flight-32321 flight-32322 flight-32323 flight-32324 flight-32325 flight-32326 flight-32327 flight-32328 flight-32329 flight-32330
authorIan Campbell <ian.campbell@citrix.com>
Fri, 21 Nov 2014 13:16:52 +0000 (13:16 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 5 Dec 2014 15:43:32 +0000 (15:43 +0000)
Uses DebianNonfreeFirmware, even (especially) for production, so move
the README stanza out of standalone only section. The current default
matches what is in the current production versions of DI.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
README
mg-debian-installer-update-all [new file with mode: 0755]

diff --git a/README b/README
index 1226369ff947e1d5b35a215addeddff62e015c17..3fe5ecc490246eaaa198acdc1023ac8358ff13da 100644 (file)
--- a/README
+++ b/README
@@ -360,14 +360,6 @@ DebianPreseed
    but you will need to set some NTP servers here if your firewall
    doesn't permit NTP to Debian's pool.ntp.org servers.
 
-DebianNonfreeFirmware
-  List of debs of non-free firmware to include in the massaged
-  debian-installer.  You will need this if you want to use network
-  card which requires non-free firmware.  The default is just
-  "firmware-bnx2'.  If your host operating system doesn't have
-  grep-dctrl (for example because it's not Debian) then you must set
-  this to the empty string, by writing  DebianNonfreeFirmware=''
-
 ========================================
 
 Config settings relevant only to standalone mode
@@ -420,6 +412,14 @@ GuestDebianSuite   defaults to DebianSuite
 
 DebianPreseed      added to existing preseed file
 
+DebianNonfreeFirmware
+  List of debs of non-free firmware to include in the massaged
+  debian-installer.  You will need this if you want to use network
+  card which requires non-free firmware.  The default is just
+  "firmware-bnx2'.  If your host operating system doesn't have
+  grep-dctrl (for example because it's not Debian) then you must set
+  this to the empty string, by writing  DebianNonfreeFirmware=''
+
 TftpFoo_<scope> and TftpFoo
 
     Describes various properties relating to Tftp in a given <scope>,
diff --git a/mg-debian-installer-update-all b/mg-debian-installer-update-all
new file mode 100755 (executable)
index 0000000..eca4a5f
--- /dev/null
@@ -0,0 +1,31 @@
+#!/bin/bash
+# usage
+#   ./mg-debian-installer-update-all
+
+# This is part of "osstest", an automated testing framework for Xen.
+# Copyright (C) 2015 Citrix Inc.
+# 
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+# 
+# You should have received a copy of the GNU Affero General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+set -e
+
+. cri-getconfig
+
+suite=`getconfig DebianSuite`
+fws=`getconfig DebianNonfreeFirmware`
+arches="armhf amd64 i386"
+
+for arch in $arches ; do
+    ./mg-debian-installer-update $suite $arch $fws
+done