[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 2/2] osstest: move install of FreeBSD build deps to build-prep



Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
 ts-build-prep-freebsd | 6 ++++++
 ts-freebsd-build      | 5 -----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ts-build-prep-freebsd b/ts-build-prep-freebsd
index 1d78a3e1..3999ed79 100755
--- a/ts-build-prep-freebsd
+++ b/ts-build-prep-freebsd
@@ -30,6 +30,12 @@ $whhost ||= 'host';
 our $ho= selecthost($whhost);
 exit 0 if $ho->{SharedReady};
 
+sub install_deps () {
+    target_install_packages($ho, qw(git));
+}
+
+install_deps();
+
 our $path_prefix = $r{"freebsd_distpath"} ||
                    get_stashed("path_freebsddist", $r{"freebsdbuildjob"});
 
diff --git a/ts-freebsd-build b/ts-freebsd-build
index 5d82d809..bdf666eb 100755
--- a/ts-freebsd-build
+++ b/ts-freebsd-build
@@ -46,10 +46,6 @@ tsreadconfig();
 selectbuildhost(\@ARGV);
 builddirsprops();
 
-sub install_deps () {
-    target_install_packages($ho, qw(git));
-}
-
 sub checkout () {
     prepbuilddirs();
 
@@ -231,7 +227,6 @@ END
     store_runvar("path_freebsddist", "build/");
 }
 
-install_deps();
 checkout();
 build();
 stash();
-- 
2.17.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.