summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/utils/targetbuild.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py
index eeb08ba716..d499bb1e1e 100644
--- a/meta/lib/oeqa/utils/targetbuild.py
+++ b/meta/lib/oeqa/utils/targetbuild.py
@@ -26,6 +26,11 @@ class BuildProject():
26 # Download self.archive to self.localarchive 26 # Download self.archive to self.localarchive
27 def _download_archive(self): 27 def _download_archive(self):
28 28
29 dl_dir = self.d.getVar("DL_DIR", True)
30 if dl_dir and os.path.exists(os.path.join(dl_dir, self.archive)):
31 bb.utils.copyfile(os.path.join(dl_dir, self.archive), self.localarchive)
32 return
33
29 exportvars = ['HTTP_PROXY', 'http_proxy', 34 exportvars = ['HTTP_PROXY', 'http_proxy',
30 'HTTPS_PROXY', 'https_proxy', 35 'HTTPS_PROXY', 'https_proxy',
31 'FTP_PROXY', 'ftp_proxy', 36 'FTP_PROXY', 'ftp_proxy',