Turn off Source Checksum Check Yocto

JohnyTex picture JohnyTex · Aug 26, 2014 · Viewed 16.7k times · Source

Where do I specify BB_STRICT_CHECKSUM = "0" in Yocto to disable checksum check of source code?

I get:

ERROR: No checksum specified for /PATH/TO/ti-linux-kernel.git, please add at least one to the     recipe:
SRC_URI[md5sum] = "e8e287fd725bea8b4220ebe9094cda86"
SRC_URI[sha256sum] = "4a4f522b05e6c1fcd1872f2fc7c82061dfdc4a19c5f866858005daa198f89bbb"

Answer

user3578181 picture user3578181 · Jan 15, 2016

Regarding this page BB_STRICT_CHECKSUM is a variable which can be used in .bb files. So, you can simply add the following line to the corresponding .bb file, which your SRC_URI has been set in it, to avoid the checksum checking error:

BB_STRICT_CHECKSUM = "0"

By adding this line the checksum check error (saying: No checksum specified for blah/blah/blah, please add at least one to the recipe OR the other error saying: Missing SRC_URI checksum) won't break the compile process anymore and just a warning will be thrown.

Hope it helps