From patchwork Wed Oct 29 10:41:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 39746 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 823DE24029 for ; Wed, 29 Oct 2014 10:42:45 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id h11sf1755844wiw.3 for ; Wed, 29 Oct 2014 03:42:44 -0700 (PDT) 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:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=g83dkT8Om7Bc6JdCvl3vsry6aNeD2W2M4X/JEQzmZUA=; b=M5I2jLO/bYxw/c+iLgdZKWohdYwxejI6nMMZTB1Y1tXo2ULnmWfSFlaaeobm/Q1LIn Ko5CLEKVGurgXeXORQ1YP2iTf+XkcdLcF/fuVjPbvKRQyWsnttOUjiu2C52IVU5Cn9fb e4xn82P/2N4dmEiXnuEOM9cXPK8tgwRvaa6GbhNQlpCEBslijknlh4uakE75JfrQhX9T sQlUMWkbccGvoyrfZbVOY9sfQtHMysYAU1C4htW+8gXz1RAplPclAsHsg+2YzKQ/fceY w89HGfOiQ5G5sxvmE1DEVwLqPQBb/M3O57eg6PKnlaZEJNZf6yvk2wxbIK/yfqSocO85 iMcQ== X-Gm-Message-State: ALoCoQmyQwFWpYXkiUS+O+uuuvUgdHnkGf1AbrwNEcmOh0gWrWv1ysU+ENVuK6ME9hgsnKvAVL02 X-Received: by 10.112.146.104 with SMTP id tb8mr9016lbb.22.1414579364740; Wed, 29 Oct 2014 03:42:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.8.68 with SMTP id p4ls181745laa.52.gmail; Wed, 29 Oct 2014 03:42:44 -0700 (PDT) X-Received: by 10.152.203.139 with SMTP id kq11mr10481107lac.63.1414579364563; Wed, 29 Oct 2014 03:42:44 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id uf2si6571620lbb.103.2014.10.29.03.42.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:42:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id ge10so2282569lab.36 for ; Wed, 29 Oct 2014 03:42:44 -0700 (PDT) X-Received: by 10.152.120.199 with SMTP id le7mr10219346lab.67.1414579364466; Wed, 29 Oct 2014 03:42:44 -0700 (PDT) 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.84.229 with SMTP id c5csp633453lbz; Wed, 29 Oct 2014 03:42:43 -0700 (PDT) X-Received: by 10.224.54.205 with SMTP id r13mr13723255qag.73.1414579361487; Wed, 29 Oct 2014 03:42:41 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id g5si6680819qaf.123.2014.10.29.03.42.40 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:42:41 -0700 (PDT) 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 1XjQhV-0002V0-VW; Wed, 29 Oct 2014 10:42:01 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XjQhT-0002QI-BD for xen-devel@lists.xen.org; Wed, 29 Oct 2014 10:41:59 +0000 Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id 2E/E4-02952-674C0545; Wed, 29 Oct 2014 10:41:58 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-9.tower-21.messagelabs.com!1414579313!13416260!3 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.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 29058 invoked from network); 29 Oct 2014 10:41:57 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-9.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 29 Oct 2014 10:41:57 -0000 X-IronPort-AV: E=Sophos;i="5.04,809,1406592000"; d="scan'208";a="187318380" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Wed, 29 Oct 2014 06:41:57 -0400 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 1XjQhP-00014q-Lb; Wed, 29 Oct 2014 10:41:56 +0000 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Wed, 29 Oct 2014 10:41:55 +0000 From: Ian Campbell To: Date: Wed, 29 Oct 2014 10:41:35 +0000 Message-ID: <1414579302-6692-13-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1414579268.29975.13.camel@citrix.com> References: <1414579268.29975.13.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v2 13/20] Osstest/Debian: Install dtbs into target filesystem in /boot/dtbs 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.49 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: This is done whenever dtbs.tar.gz exists. mg-debian-installer-update produces the necessary inputs on the relevant platform (armhf). Signed-off-by: Ian Campbell --- v2: Install dtbs iff dtbs.tar.gz exists. --- Osstest/Debian.pm | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 3ffbc50..6bb14f7 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -514,6 +514,9 @@ sub preseed_create ($$;@) { my $disk= $xopts{DiskDevice} || '/dev/sda'; my $suite= $xopts{Suite} || $c{DebianSuite}; + my $d_i= $ho->{Tftp}{Path}.'/'.$ho->{Tftp}{DiBase}.'/'.$r{arch}.'/'. + $c{TftpDiVersion}.'-'.$ho->{Suite}; + my $hostsq= $dbh_tests->prepare(<{Flags} }) { $kp =~ s/need-kernel-deb-// or next; - my $d_i= $ho->{Tftp}{Path}.'/'.$ho->{Tftp}{DiBase}.'/'.$r{arch}.'/'. - $c{TftpDiVersion}.'-'.$ho->{Suite}; - my $kurl = create_webfile($ho, "kernel", sub { copy("$d_i/$kp.deb", $_[0]) or die "Copy kernel failed: $!";