diff mbox series

[OSSTEST,2/6] sg-run-job, ts-host-install: New --build option

Message ID 20190425155056.23145-3-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series stretch fallout: run 32-bit builds on 64-bit Linux | expand

Commit Message

Ian Jackson April 25, 2019, 3:50 p.m. UTC
Used to specify that the host will be used for building.  Currently
has no effect.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 sg-run-job      | 2 +-
 ts-host-install | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sg-run-job b/sg-run-job
index 56b6384a..7c58d4ba 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -734,7 +734,7 @@  proc allocate-build-host {ostype} {
 }
 proc prepare-build-host-linux {} {
     global jobinfo
-    run-ts broken host-install(*) ts-host-install-twice
+    run-ts broken host-install(*) ts-host-install-twice + --build
     run-ts . host-build-prep ts-xen-build-prep
 }
 
diff --git a/ts-host-install b/ts-host-install
index 4213c3a2..7094559f 100755
--- a/ts-host-install
+++ b/ts-host-install
@@ -41,6 +41,7 @@  while (@ARGV and $ARGV[0] =~ m/^-/) {
 	$poweron_test_only= 1;
     } elsif  (m/^--rescue$/) {
 	$xopts{RescueMode}= 1;
+    } elsif  (m/^--build$/) {
     } else {
 	die "$_ $!";
     }