summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-11 23:30:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-13 09:47:28 +0000
commitda43a56d3533db37592a1698777af08f51a5800f (patch)
treeb93b8d4f39064f863e646804f820ce5107ae0009 /bitbake/lib
parent96a34e7f847ad34deac520b78809e7dd82dbc59e (diff)
downloadpoky-da43a56d3533db37592a1698777af08f51a5800f.tar.gz
bitbake: Revert "fetch2/local.py: avoid using PREMIRROR"
This reverts commit e130dca85bac82bd4d88f94a6bf9fe36e8ad4d7c. This is in fact a valid use case, for example the sstate.bbclass code sets up SSTATE_MIRRORS as PREMIRRORS. Its quite common to map those file:// urls to remote http:// urls and with the above change, this no longer works. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch2/local.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py
index 7245651971..2d921f7e55 100644
--- a/bitbake/lib/bb/fetch2/local.py
+++ b/bitbake/lib/bb/fetch2/local.py
@@ -126,8 +126,3 @@ 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