diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 87cf7e61a6..59a7f1b6bd 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -543,8 +543,8 @@ def verify_checksum(ud, d): | |||
543 | 543 | ||
544 | if ud.method.recommends_checksum(ud): | 544 | if ud.method.recommends_checksum(ud): |
545 | # If strict checking enabled and neither sum defined, raise error | 545 | # If strict checking enabled and neither sum defined, raise error |
546 | strict = d.getVar("BB_STRICT_CHECKSUM", True) or None | 546 | strict = d.getVar("BB_STRICT_CHECKSUM", "1") or "0" |
547 | if strict and not (ud.md5_expected or ud.sha256_expected): | 547 | if (strict == "1") and not (ud.md5_expected or ud.sha256_expected): |
548 | logger.error('No checksum specified for %s, please add at least one to the recipe:\n' | 548 | logger.error('No checksum specified for %s, please add at least one to the recipe:\n' |
549 | 'SRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"' % | 549 | 'SRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"' % |
550 | (ud.localpath, ud.md5_name, md5data, | 550 | (ud.localpath, ud.md5_name, md5data, |