]> code.ossystems Code Review - openembedded-core.git/commit
bitbake: if PREMIRRORS set test for local file in FetchData.setup_localpath
authorJoshua Lock <josh@linux.intel.com>
Wed, 3 Feb 2010 16:08:09 +0000 (16:08 +0000)
committerJoshua Lock <josh@linux.intel.com>
Thu, 4 Feb 2010 00:18:29 +0000 (00:18 +0000)
commitafe12428a9229b9a96f9e98c86d95786689aaf79
tree0e0e0aba29d8a0d5d8ef069ec44f0ad43dbde487
parentb571168ac7716a8ee4bee98ba5c3b53f70a13118
bitbake: if PREMIRRORS set test for local file in FetchData.setup_localpath

When we are using PREMIRRORS it's possible a mirror in the local namespace
(some filesystem path, i.e. an NFS share) provides read-only files.
This is a perfectly valid scenario so this patch fixes bitbake so that for
such a scenario locapath is set to the files path rather than some child
of DL_DIR.

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