summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/runningbuild.py
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-07-31 15:20:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-02 17:05:06 +0100
commit420891731fd87fc04e973687cfe674765d0f0299 (patch)
treef63040600ce481568b52f0cc25649acbcd198dd2 /bitbake/lib/bb/ui/crumbs/runningbuild.py
parentf1417a1349e609d6a4886aed2704beabf150fbb9 (diff)
downloadpoky-420891731fd87fc04e973687cfe674765d0f0299.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/runningbuild.py')
0 files changed, 0 insertions, 0 deletions