summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-06-10 13:46:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-11 15:55:52 +0100
commit46402b2f5b69004751f6663d435bedae0ad9dab1 (patch)
tree3f070d0911afe47b346eb7697e1947c00da0cb47 /meta
parent1f30d2eb2ef45550c71969c735275db1448b6ac6 (diff)
downloadopenembedded-core-46402b2f5b69004751f6663d435bedae0ad9dab1.tar.gz
openembedded-core-46402b2f5b69004751f6663d435bedae0ad9dab1.tar.bz2
openembedded-core-46402b2f5b69004751f6663d435bedae0ad9dab1.zip
sstate.bbclass: kill MIRRORS and FILESPATH to speed up fetching
The default FILESPATH isn't really of use, as we don't expect to find sstate archives buried in layer recipe directories, and the default MIRRORS is intended for use for fetching SRC_URI, not sstate. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index e74c642aee..3aa4371c39 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -508,6 +508,8 @@ def pstaging_fetch(sstatefetch, sstatepkg, d):
bb.mkdirhier(dldir)
+ localdata.delVar('MIRRORS')
+ localdata.delVar('FILESPATH')
localdata.setVar('DL_DIR', dldir)
localdata.setVar('PREMIRRORS', mirrors)
localdata.setVar('SRC_URI', srcuri)