From: Ian Campbell Date: Fri, 21 Nov 2014 13:16:52 +0000 (+0000) Subject: Add simple helper to update DI for all architectures. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fflight-32290;p=osstest.git Add simple helper to update DI for all architectures. 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 Acked-by: Ian Jackson --- diff --git a/README b/README index 1226369..3fe5ecc 100644 --- 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_ and TftpFoo Describes various properties relating to Tftp in a given , diff --git a/mg-debian-installer-update-all b/mg-debian-installer-update-all new file mode 100755 index 0000000..eca4a5f --- /dev/null +++ b/mg-debian-installer-update-all @@ -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 . + +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