[oe-commits] Christopher Larson : sstate.bbclass: kill MIRRORS and FILESPATH to speed up fetching

git at git.openembedded.org git at git.openembedded.org
Wed Jun 12 12:19:46 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 46402b2f5b69004751f6663d435bedae0ad9dab1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=46402b2f5b69004751f6663d435bedae0ad9dab1

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Mon Jun 10 13:46:22 2013 -0700

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 at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 e74c642..3aa4371 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)



More information about the Openembedded-commits mailing list