]> code.ossystems Code Review - openembedded-core.git/commit
bitbake: Enhance the fetchers' support for local mirrors
authorJoshua Lock <josh@linux.intel.com>
Tue, 2 Feb 2010 17:57:20 +0000 (17:57 +0000)
committerJoshua Lock <josh@linux.intel.com>
Thu, 4 Feb 2010 00:18:29 +0000 (00:18 +0000)
commitb571168ac7716a8ee4bee98ba5c3b53f70a13118
tree4bbc3abca77be7db767888b04a3ff71c7cda2596
parent095347fc691b68e7558470e1488157994aa6c7b8
bitbake: 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.

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