]> code.ossystems Code Review - openembedded-core.git/commit
bitbake/fetch: Checksum validity fixes
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 20 Dec 2010 16:04:51 +0000 (16:04 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 20 Dec 2010 16:04:51 +0000 (16:04 +0000)
commit7abdf3e5c36197c5518edf53acb98611559dadec
tree5532da2d46e90f46087572630015386754cbdd57
parentcf410542f9e0eed5b01ab36fb47f1ce78bd4bb9b
bitbake/fetch: Checksum validity fixes

If the checksum check failed, the .md5 stamp file would still have been created
meaning subsequent builds would proceed with the corrupt file. Reorder the calls
to avoid this. Also raise a specific error for the checksum not specified error
case.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/fetch/__init__.py