Re: Invalid checksums for SRC_URI ignored?

Michael Opdenacker

Peter, Ross

On 1/19/22 1:56 PM, Peter Bergin wrote:

On 2022-01-19 13:16, Michael Opdenacker wrote:

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

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?
No they are not mandatory for all fetchers. They are only used for
content downloaded from non-local archives.

^^ here you can see the selection of URI's that automatically needs a

Thanks for your replies. This all makes perfect sense then.
Thanks again

Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering

Join to automatically receive all group messages.