From: Ian Jackson Date: Wed, 22 May 2019 15:44:40 +0000 (+0100) Subject: shared/reuse: Use @ for ts-xen-build-prep X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=20a8b9e613c955fa960bfb27e290904265beac28;p=osstest.git shared/reuse: Use @ for ts-xen-build-prep 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 --- diff --git a/sg-run-job b/sg-run-job index 067b28d..d46a3a6 100755 --- a/sg-run-job +++ b/sg-run-job @@ -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 {} { diff --git a/ts-xen-build-prep b/ts-xen-build-prep index dabb992..092bbff 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -28,7 +28,6 @@ tsreadconfig(); our ($whhost) = @ARGV; $whhost ||= 'host'; our $ho= selecthost($whhost); -exit 0 if $ho->{SharedReady}; our ($vg,$lv);