Re: Invalid checksums for SRC_URI ignored?

Ross Burton <ross@...>

On Wed, 19 Jan 2022 at 12:16, Michael Opdenacker
<michael.opdenacker@...> wrote:


I reused a simple "hello" recipe and added a non-matching checksum to it:

SRC_URI = "file://helloworld.c"
SRC_URI[md5sum] = "34f0efd76b4f18888888888833cdd129"

The rest of the recipe comes from

Why doesn't Bitbake stop, reporting that the checksum doesn't match the
source file?
Anyway, why does the recipe build without a checksum? Shouldn't
checksums be mandatory?
Checksums are for files that are fetched via http:// and friends, not
local files.


Join { to automatically receive all group messages.