]> code.ossystems Code Review - openembedded-core.git/commit
sstate: Fix mirror handling for file:// urls
authorRichard Purdie <rpurdie@linux.intel.com>
Fri, 22 Oct 2010 13:27:44 +0000 (14:27 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 22 Oct 2010 13:48:54 +0000 (14:48 +0100)
commit3f599b3f6a47286277cdaa8503f8a8da024eadd4
tree6121cabb6d9be63a8acf9912f043093209e58db8
parenteef1d813b7248ba40eb958f4052dbe4d52b93591
sstate: Fix mirror handling for file:// urls

The fetcher has special handling for file:// mirror urls, being efficient and
just providing an updated path. Unfortunately the sstate fetching code wasn't
able to handle this. This patch detects this and injects a symlink to ensure
everything works. It also fixes some datastore references to be correct and
ensures the sstate download directory exists if it doesn't already.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/classes/sstate.bbclass