]> code.ossystems Code Review - openembedded-core.git/commit
bitbake/fetch: Respect forcefetch even when pulling from a mirror
authorJoshua Lock <josh@linux.intel.com>
Fri, 27 Aug 2010 13:04:33 +0000 (14:04 +0100)
committerJoshua Lock <josh@linux.intel.com>
Wed, 1 Sep 2010 10:14:23 +0000 (11:14 +0100)
commitb54e95fd069217a192d9bb8a3c261e33600e2538
tree7dade2dfbfeae068ebbfd1f092fcee1f2e844938
parent94f29466797b98404eaa77e420fe648b4832f8eb
bitbake/fetch: Respect forcefetch even when pulling from a mirror

When pulling from a premirror we would prefer a local tarball even when the
caller had specified the forcefetch parameter.
Add an extra parameter 'force' to try_mirrors, defaulting to False. If set
the mirrors will be tested even if the file exists locally.

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