From fbf64380f42aeb3dbedcf66b11b87a52aecf0719 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 10 Jun 2013 13:46:22 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/sstate.bbclass | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3-54-g00ecf