Add a run of build_externals to the initialization of a drone when the scheduler is first started.

Signed-off-by: Scott Zawalski <scottz@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4488 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/scheduler/drone_utility.py b/scheduler/drone_utility.py
index 0ada995..55b0a6b 100755
--- a/scheduler/drone_utility.py
+++ b/scheduler/drone_utility.py
@@ -61,6 +61,9 @@
         if os.path.exists(temporary_directory):
             shutil.rmtree(temporary_directory)
         self._ensure_directory_exists(temporary_directory)
+        build_extern_cmd = os.path.join(results_dir,
+                                        '../utils/build_externals.py')
+        utils.run(build_extern_cmd)
 
 
     def _warn(self, warning):