From ef3755b739e36c60eb9d5d7a0e7fa271d85cf3a8 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Date: Fri, 10 Oct 2014 13:13:46 -0500 Subject: bitbake: fetcher: fix getVar call due to incorrect argument datatype (Bitbake rev: 2ac33aac3446cb12227f1b8daa5f27f417c9bb9e) Signed-off-by: Alejandro Hernandez Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 59a7f1b6bd..c0a4763a8b 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -543,7 +543,7 @@ def verify_checksum(ud, d): if ud.method.recommends_checksum(ud): # If strict checking enabled and neither sum defined, raise error - strict = d.getVar("BB_STRICT_CHECKSUM", "1") or "0" + strict = d.getVar("BB_STRICT_CHECKSUM", True) or "0" if (strict == "1") and not (ud.md5_expected or ud.sha256_expected): logger.error('No checksum specified for %s, please add at least one to the recipe:\n' 'SRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"' % -- cgit v1.2.3-54-g00ecf