From patchwork Fri Nov 21 13:16:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 41314 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5821D25B55 for ; Fri, 21 Nov 2014 13:19:51 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf1900471lbj.7 for ; Fri, 21 Nov 2014 05:19:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=nsdMXHvhYU00BeZcnJfLPziiqKSWPEFUOzArNtgVgVY=; b=aC573dvSEILw+0eQCLxC7LCZymLj2Uz/CyKS/TyfuoUgQ/YmI/17hAckOLhBUoHaL4 jYkfBrbPXdPthpmOQjaYrOgZLMrpLj2N1324iER73A4Bnc+HO6cPBMm1BUDGNk/4wV3I fkOozp0/9e4KwgBfUad3c9XOp4N9DFeGQ1J7MI9NjhiL8Tawv9n6vFb0+zlyD6NOlOgz ow2GDEMzCz1mJXsgjNU/1bf/dQQWMJ98nezS0dVUxStf1UBYs064hV364SjdNqgPNt0f TqAEzADR+2MHDhJHVPtpF11LCPE4ozExfXuHi5sVtpu0i2PrJ9IwVV1TqAo/8TPXsZwE VYpw== X-Gm-Message-State: ALoCoQlZvSwTY6oH29tNmf1NtxK2zfdlu7YwkhTCN9+Vzdxt6w4MeyZ9UOTbSEypR20xBKWvpYZr X-Received: by 10.180.106.67 with SMTP id gs3mr11282213wib.3.1416575987059; Fri, 21 Nov 2014 05:19:47 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.6 with SMTP id ci6ls197483lad.30.gmail; Fri, 21 Nov 2014 05:19:46 -0800 (PST) X-Received: by 10.152.37.100 with SMTP id x4mr4598873laj.22.1416575986700; Fri, 21 Nov 2014 05:19:46 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id xc4si5310697lbb.82.2014.11.21.05.19.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Nov 2014 05:19:46 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by mail-la0-f41.google.com with SMTP id gf13so4266514lab.28 for ; Fri, 21 Nov 2014 05:19:46 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr4526959lad.44.1416575986567; Fri, 21 Nov 2014 05:19:46 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp87313lbc; Fri, 21 Nov 2014 05:19:45 -0800 (PST) X-Received: by 10.52.52.82 with SMTP id r18mr3601155vdo.49.1416575982945; Fri, 21 Nov 2014 05:19:42 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id ai7si2291895vdd.3.2014.11.21.05.19.21 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 21 Nov 2014 05:19:42 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xro5J-0007G7-LJ; Fri, 21 Nov 2014 13:17:13 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xro5H-0007Fe-Ry for xen-devel@lists.xen.org; Fri, 21 Nov 2014 13:17:12 +0000 Received: from [193.109.254.147] by server-12.bemta-14.messagelabs.com id F1/CD-02702-65B3F645; Fri, 21 Nov 2014 13:17:10 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-3.tower-27.messagelabs.com!1416575829!13439228!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.12.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 4408 invoked from network); 21 Nov 2014 13:17:10 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-3.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 21 Nov 2014 13:17:10 -0000 X-IronPort-AV: E=Sophos;i="5.07,431,1413244800"; d="scan'208";a="195229121" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Fri, 21 Nov 2014 08:17:08 -0500 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1Xro5C-0003AW-Sp; Fri, 21 Nov 2014 13:17:07 +0000 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Fri, 21 Nov 2014 13:17:06 +0000 From: Ian Campbell To: Date: Fri, 21 Nov 2014 13:16:52 +0000 Message-ID: <1416575824-15555-3-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1416505070.26869.2.camel@citrix.com> References: <1416505070.26869.2.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v3 03/15] Add simple helper to update DI for all architectures. X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: 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 --- 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 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