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.

(From OE-Core rev: 46402b2f5b69004751f6663d435bedae0ad9dab1)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson 2013-06-10 13:46:22 -07:00 committed by Richard Purdie
parent 29f8701402
commit fbf64380f4
1 changed files with 2 additions and 0 deletions

View 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)