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:10:34 +0100 |
commit | 2ac33aac3446cb12227f1b8daa5f27f417c9bb9e (patch) | |
tree | d9bc94d5cd8241c6daac0060ff461e0696973fa8 | |
parent | b8ed2098bdea2afd93ab4e3e1b834f3a31cb60de (diff) | |
download | bitbake-2ac33aac3446cb12227f1b8daa5f27f417c9bb9e.tar.gz |
fetcher: fix getVar call due to incorrect argument datatype
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 59a7f1b6b..c0a4763a8 100644 --- a/lib/bb/fetch2/__init__.py +++ b/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"' % |