summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-01-04 02:15:39 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-06 15:27:34 +0000
commitb4141f6494bf529255e17eb0e9bdd9297ece99a3 (patch)
tree097519de0c7e59d0e96ccacde83196d8133f82bc /bitbake/lib/bb/fetch2
parent1ad3595e8c4aef541261f3a19ba0e85c106cff09 (diff)
downloadpoky-b4141f6494bf529255e17eb0e9bdd9297ece99a3.tar.gz
bitbake: fetch2/local.py: avoid using PREMIRROR
The PREMIRROR isn't useful for "file://", so avoid using it, this is good for searching speed and can reduce useless lines in log.do_fetch. (Bitbake rev: e130dca85bac82bd4d88f94a6bf9fe36e8ad4d7c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r--bitbake/lib/bb/fetch2/local.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py
index 2d921f7e55..7245651971 100644
--- a/bitbake/lib/bb/fetch2/local.py
+++ b/bitbake/lib/bb/fetch2/local.py
@@ -126,3 +126,8 @@ class Local(FetchMethod):
126 def clean(self, urldata, d): 126 def clean(self, urldata, d):
127 return 127 return
128 128
129 def try_premirror(self, urldata, d):
130 """
131 Should premirrors be used?
132 """
133 return False