]> xenbits.xensource.com Git - osstest.git/commitdiff
shared/reuse: Use @ for ts-xen-build-prep
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 22 May 2019 15:44:40 +0000 (16:44 +0100)
committerIan Jackson <iwj@xenproject.org>
Wed, 7 Oct 2020 16:07:42 +0000 (17:07 +0100)
Pass @ from sg-run-job.  This is the only call site for
ts-xen-build-prep, so it can lose the open-coded test for SharedReady.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
sg-run-job
ts-xen-build-prep

index 067b28db73a92d5b209a91e680f8b90e595dcc8e..d46a3a627ea8b253dcd7c0ca9b5be4f5c5421cf1 100755 (executable)
@@ -753,7 +753,7 @@ proc allocate-build-host {ostype} {
 proc prepare-build-host-linux {} {
     global jobinfo
     run-ts broken host-install(*) ts-host-install-twice + --build
-    run-ts . host-build-prep ts-xen-build-prep
+    run-ts . host-build-prep ts-xen-build-prep + @host
 }
 
 proc prepare-build-host-freebsd {} {
index dabb992188771636fa824adc08fd3dc18c507f1a..092bbffef6c943cf0042cdefacbae7cc026c7a63 100755 (executable)
@@ -28,7 +28,6 @@ tsreadconfig();
 our ($whhost) = @ARGV;
 $whhost ||= 'host';
 our $ho= selecthost($whhost);
-exit 0 if $ho->{SharedReady};
 
 our ($vg,$lv);