]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate.bbclass: kill MIRRORS and FILESPATH to speed up fetching
authorChristopher Larson <chris_larson@mentor.com>
Mon, 10 Jun 2013 20:46:22 +0000 (13:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Jun 2013 14:55:52 +0000 (15:55 +0100)
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>
meta/classes/sstate.bbclass

index e74c642aee4b43b0bdb4428e379ecca091f587b3..3aa4371c39415f09aa9b50bb5800a653e08d670e 100644 (file)
@@ -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)