]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: Ensure the SRCURI fetcher cache is not used for sstate
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Mar 2011 19:07:24 +0000 (11:07 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Mar 2011 19:07:24 +0000 (11:07 -0800)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index 6f836a60b6aae67b9c89773781c43f0a5403b669..4d8443be40c8c3492919f27967058282f9860ed3 100644 (file)
@@ -354,7 +354,7 @@ def pstaging_fetch(sstatepkg, d):
     # Try a fetch from the sstate mirror, if it fails just return and
     # we will build the package
     try:
-        fetcher = bb.fetch2.Fetch([srcuri], localdata)
+        fetcher = bb.fetch2.Fetch([srcuri], localdata, cache=False)
         fetcher.download()        
 
         # Need to optimise this, if using file:// urls, the fetcher just changes the local path