]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
Enhance the fetchers' support for local mirrors
authorJoshua Lock <josh@linux.intel.com>
Tue, 2 Feb 2010 17:57:20 +0000 (17:57 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 15 Feb 2010 17:14:53 +0000 (17:14 +0000)
commitbfc1926034d3eb545c6683ea7ef2db79927a0838
tree52f6dd6ea090b6a4d1fec721ecff90db38fcae72
parent11375c3f74511ce59ad5a625bfda4121a8714345
Enhance the fetchers' support for local mirrors

Modify the try_mirrors() function to return the localpath of the fetched file
and update the data dictionary to reflect this.
Secondly the metadata files, lock and md5, should always be stored relative to
the ${DL_DIR} as it is possible that the localpath is a read-only directory,
for example in the scenario where there is a read-only file:// mirror.

(From Poky rev: b571168ac7716a8ee4bee98ba5c3b53f70a13118)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
lib/bb/fetch/__init__.py