]> code.ossystems Code Review - openembedded-core.git/commit
bitbake/fetch2: Ensure that mirror fetches are symlinked from the download directory
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Feb 2011 18:22:06 +0000 (18:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Feb 2011 18:22:06 +0000 (18:22 +0000)
commitfa9fda05e1d269446b51050195b891346482e8bb
treecca4e265a2726f89a652fe64c55b1b07487ed0a5
parent7f99605562119a13a2510a3c990e3cf577ad764e
bitbake/fetch2: Ensure that mirror fetches are symlinked from the download directory

When files are fetched from a mirror source that happens to be local,
ensure links are created for the file since subsequent fetch calls
can then follow the links to find files.

Any other approach such as the existing manipulations of localpath
internally to the fetcher are prone to errors, races and other issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py