From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH OSSTEST v2 00/20] support for ARM32 arndale and cubietruck platforms Date: Thu, 30 Oct 2014 11:43:59 +0000 Message-ID: <1414669439.2064.28.camel@citrix.com> References: <1414579268.29975.13.camel@citrix.com> <1414601464.2064.9.camel@citrix.com> <21585.8227.12267.818642@mariner.uk.xensource.com> <1414602948.2064.11.camel@citrix.com> <21586.8534.140271.437090@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21586.8534.140271.437090@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, 2014-10-30 at 11:30 +0000, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [PATCH OSSTEST v2 00/20] support for ARM32 arndale and cubietruck platforms"): > > BTW, is there some helper which will call mg-debian-installer-update the > > appropriate number of times with the right args for each arch for a > > production system update? > > No. > > > AFAIK there is only a helper for standalone mode. > > Feel free to write one :-). It's a bit noddy, but how about: ----8<---------------- >>From 3ec8b49595849d19e4dfd6ed786f540fba9b3ebd Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 30 Oct 2014 11:39:17 +0000 Subject: [PATCH] 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 --- README | 16 ++++++++-------- mg-debian-installer-update-all | 31 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 8 deletions(-) create mode 100755 mg-debian-installer-update-all diff --git a/README b/README index 5ba695d..35532b7 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 @@ -423,6 +415,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 -- 2.1.1