]> code.ossystems Code Review - openembedded-core.git/commit
Simplify cache syncing
authorChris Larson <chris_larson@mentor.com>
Fri, 19 Nov 2010 05:28:09 +0000 (22:28 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:43 +0000 (14:46 +0000)
commit95d2f56126d459b9e7f000d22ed7c1206d1a8f68
treecf0ee27eb9587df80c2ba93221a58887d278ce08
parent9ffbd9fe27e25a458b09631c503f4ef96632e334
Simplify cache syncing

Rather than adding nocache items to the cache, then copying the cache and
removing them to sync it, don't add them in the first place.  Also use 'with'
for the cachefile.

(Bitbake rev: 343b6f6255ad020c39e30742175a241f0859a5a6)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cache.py