]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
arch replumbing: ts-debian-di-install: Use $gho->{Arch}
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 26 Apr 2019 13:44:04 +0000 (14:44 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 1 May 2019 10:34:23 +0000 (11:34 +0100)
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
ts-debian-install

index 5cb3d35d1914c3a374dce9be92d415454ca67f82..9abb4956b912d6233a7016729e2a1e5b1e7d7d43 100755 (executable)
@@ -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";
index 5bbaead0445264c568ce724893bbdc0837f2db88..f07dd67628a0b3691b18f916c290de6f0a0d720c 100755 (executable)
@@ -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);