diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-06-10 13:46:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 15:56:01 +0100 |
commit | fbf64380f42aeb3dbedcf66b11b87a52aecf0719 (patch) | |
tree | 356436181f44c0a5535f7131aef25916effa8c5b | |
parent | 29f87014024ef2230e588169582247e063279c70 (diff) | |
download | poky-fbf64380f42aeb3dbedcf66b11b87a52aecf0719.tar.gz |
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>
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
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): | |||
508 | 508 | ||
509 | bb.mkdirhier(dldir) | 509 | bb.mkdirhier(dldir) |
510 | 510 | ||
511 | localdata.delVar('MIRRORS') | ||
512 | localdata.delVar('FILESPATH') | ||
511 | localdata.setVar('DL_DIR', dldir) | 513 | localdata.setVar('DL_DIR', dldir) |
512 | localdata.setVar('PREMIRRORS', mirrors) | 514 | localdata.setVar('PREMIRRORS', mirrors) |
513 | localdata.setVar('SRC_URI', srcuri) | 515 | localdata.setVar('SRC_URI', srcuri) |