diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-01-04 02:15:39 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-06 15:27:34 +0000 |
commit | b4141f6494bf529255e17eb0e9bdd9297ece99a3 (patch) | |
tree | 097519de0c7e59d0e96ccacde83196d8133f82bc /bitbake/lib | |
parent | 1ad3595e8c4aef541261f3a19ba0e85c106cff09 (diff) | |
download | poky-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')
-rw-r--r-- | bitbake/lib/bb/fetch2/local.py | 5 |
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 | ||