From patchwork Fri Apr 26 16:39:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 10919397 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1607214C0 for ; Fri, 26 Apr 2019 16:42:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03EFF28DEB for ; Fri, 26 Apr 2019 16:42:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC2E528E04; Fri, 26 Apr 2019 16:42:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A313D28DEB for ; Fri, 26 Apr 2019 16:42:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hK3up-0008DE-Nq; Fri, 26 Apr 2019 16:41:35 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hK3uo-0008Bj-54 for xen-devel@lists.xenproject.org; Fri, 26 Apr 2019 16:41:34 +0000 X-Inumbo-ID: 24ca6f70-6842-11e9-809e-b371eaf24b5c Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 24ca6f70-6842-11e9-809e-b371eaf24b5c; Fri, 26 Apr 2019 16:41:31 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,398,1549929600"; d="scan'208";a="84519715" From: Ian Jackson To: Date: Fri, 26 Apr 2019 17:39:56 +0100 Message-ID: <20190426164002.22381-10-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190426164002.22381-1-ian.jackson@eu.citrix.com> References: <20190426164002.22381-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 09/15] arch replumbing: ts-debian-di-install: Use $gho->{Arch} X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP This is just tidying up. The only effect is that now these would honour $r{all_guest_arch} as a fallback. But right now, $r{GUEST_arch} will always be set, and that is what ends up in $gho->{Arch}. Signed-off-by: Ian Jackson --- ts-debian-di-install | 2 +- ts-debian-install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-debian-di-install b/ts-debian-di-install index 5cb3d35d..9abb4956 100755 --- a/ts-debian-di-install +++ b/ts-debian-di-install @@ -174,7 +174,7 @@ END } sub ginstall () { - my $arch= $r{"$gho->{Guest}_arch"}; + my $arch= $gho->{Arch}; my $method= $r{"$gho->{Guest}_method"}; my $tmpdir= "/root/$flight-$job-di"; diff --git a/ts-debian-install b/ts-debian-install index 5bbaead0..f07dd676 100755 --- a/ts-debian-install +++ b/ts-debian-install @@ -47,7 +47,7 @@ sub prep () { } sub ginstall () { - my $arch= $r{"$gho->{Guest}_arch"}; + my $arch= $gho->{Arch}; my $archarg= defined($arch) ? "--arch $arch" : ''; my $gsuite= debian_guest_suite($gho);