generic-poky/bitbake/lib/bb
Christopher Larson 420891731f bitbake: fetch2: handle broken symlinks in local mirror handling
If a file:// mirror is being used, the fetcher will create a symlink to the
local file. However, if the local file gets removed, that link will be dead,
and os.path.exists() returns False in that case, so it tries and fails to
recreate the link. Now we unlink such a dead link if it exists.

(Bitbake rev: 229ed3857e826e3e215e843cb51f729c1e13ed37)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02 17:05:06 +01:00
..
fetch2 bitbake: fetch2: handle broken symlinks in local mirror handling 2012-08-02 17:05:06 +01:00
parse bitbake: bitbake: Warn upon finding tab indentation in python functions 2012-07-19 10:24:50 +01:00
pysh make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
server bitbake: Add client socket info for BitBakeServerConnection 2012-02-23 22:52:16 +00:00
tests bitbake: test/fetch: Switch the comparision order to make test failures slightly clearer 2012-06-28 16:32:57 +01:00
ui bitbake: knotty: ensure that directory for BB_CONSOLELOG exists before using it 2012-08-02 17:05:06 +01:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: Update version to 1.15.3 2012-07-19 10:24:50 +01:00
build.py bitbake: process: Improve _logged_communicate buffering 2012-06-25 14:57:16 +01:00
cache.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
cache_extra.py bitbake: Add description into the cache and clean up cache duplication 2012-02-02 16:55:28 +00:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: refactor out codeparser cache into a separate class 2012-05-23 11:33:18 +01:00
command.py ConfHandler.py: Add a hook for config parsing 2012-04-13 12:04:18 +01:00
compat.py bitbake: Add missing file 2011-05-07 08:49:28 +01:00
cooker.py bitbake: cooker.py: Ensure we track parser errors and only show bbappend issues on complete parse 2012-07-24 10:35:33 +01:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py bitbake: bitbake: Warn upon finding tab indentation in python functions 2012-07-19 10:24:50 +01:00
data_smart.py bitbake: data_smart: Fix multiple override interaction with append and prepend operators 2012-07-05 12:36:45 +01:00
event.py bitbake: monitordisk: fire event DISKFULL when terminate build 2012-08-02 15:28:39 +01:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py methodpool: Improve method already seen error message 2012-06-14 14:20:51 +01:00
monitordisk.py bitbake: monitordisk: fire event DISKFULL when terminate build 2012-08-02 15:28:39 +01:00
msg.py bitbake: implement BB_VERBOSE_LOGS 2012-02-28 13:47:10 +00:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py persist_data: survive if sqlite3 couldn't enable the shared cache 2012-02-22 20:25:29 +00:00
process.py bitbake: process: Improve _logged_communicate buffering 2012-06-25 14:57:16 +01:00
providers.py bitbake: bitbake: Abort build if runtime dependency conflict 2012-07-11 15:55:25 +01:00
runqueue.py bitbake: runqueue.py: Wipe out the stamp cache between setscene and main task execution 2012-07-26 14:55:22 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen.py: Insure .siginfo files writes into shared sstate cache are atomic 2012-07-17 10:54:07 +01:00
taskdata.py bitbake: bitbake: Abort build if runtime dependency conflict 2012-07-11 15:55:25 +01:00
utils.py bitbake: lib/bb/utils.py: remove unnecessary preserved variables 2012-06-25 14:57:16 +01:00