summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-16 15:01:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-20 16:47:39 +0000
commit8878ee89ba45dfe9b3852e21604c216795152159 (patch)
tree2a35935400dc3e2168a6b559081d79712c3f9d04 /bitbake/lib/bb/cooker.py
parent42645b09655c348f47010be6eab7c607af243cdc (diff)
downloadpoky-8878ee89ba45dfe9b3852e21604c216795152159.tar.gz
bitbake/fetch2: allow resuming interrupted fetch
A lot of our checks in the fetcher code assume that if the downloaded file exists, the download finished successfully; this meant that if BitBake was interrupted in the middle of a fetch then it would not resume the fetch the next time, but instead attempt to use the half-fetched file and usually fail as a result. Since we're already writing a ".done" stamp file when a fetch completes, just check for its existence and assume the download didn't complete successfully if it isn't present. (Bitbake rev: 721e986624529aedef96dd06c9fe6243f2897b10) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
0 files changed, 0 insertions, 0 deletions