diff mbox series

[OSSTEST,09/15] arch replumbing: ts-debian-di-install: Use $gho->{Arch}

Message ID 20190426164002.22381-10-ian.jackson@eu.citrix.com (mailing list archive)
State Superseded
Headers show
Series Do armhf kernel builds on amd64 | expand

Commit Message

Ian Jackson April 26, 2019, 4:39 p.m. UTC
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 <ian.jackson@eu.citrix.com>
---
 ts-debian-di-install | 2 +-
 ts-debian-install    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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);