diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2014-10-10 13:13:46 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-11 08:11:03 +0100 |
commit | ef3755b739e36c60eb9d5d7a0e7fa271d85cf3a8 (patch) | |
tree | 8b2b6c4554ea4f3965230baf9b78a1a84a96079a /bitbake | |
parent | 0fb3552632866f2b1ef8f76b0123b1dc865297a3 (diff) | |
download | poky-ef3755b739e36c60eb9d5d7a0e7fa271d85cf3a8.tar.gz |
bitbake: fetcher: fix getVar call due to incorrect argument datatype
(Bitbake rev: 2ac33aac3446cb12227f1b8daa5f27f417c9bb9e)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
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", "1") or "0" | 546 | strict = d.getVar("BB_STRICT_CHECKSUM", True) or "0" |
547 | if (strict == "1") 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"' % |