aboutsummaryrefslogtreecommitdiffstats
path: root/classes/utils.bbclass
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-07-07 08:40:52 -0700
committerTom Rini <tom_rini@mentor.com>2010-07-07 08:42:01 -0700
commit5fe57ddf50f0f6915352f396b5ed89b5aba713c1 (patch)
treeee5b3b919caa00be06be6271fe00d6a8f8e698a3 /classes/utils.bbclass
parent692d33d8ec8928136834ffb69b6250a32e741cce (diff)
downloadopenembedded-5fe57ddf50f0f6915352f396b5ed89b5aba713c1.tar.gz
utils.bbclass: base_chk_file_checksum uses strick_checksums as a boolean
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes/utils.bbclass')
-rw-r--r--classes/utils.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/utils.bbclass b/classes/utils.bbclass
index 64d6c231ec..7740ea3ac3 100644
--- a/classes/utils.bbclass
+++ b/classes/utils.bbclass
@@ -91,7 +91,9 @@ def setup_checksum_deps(d):
(depends, "shasum-native:do_populate_sysroot"))
def base_chk_file_checksum(localpath, src_uri, expected_md5sum, expected_sha256sum, data):
- strict_checking = bb.data.getVar("OE_STRICT_CHECKSUMS", data, True)
+ strict_checking = True
+ if bb.data.getVar("OE_STRICT_CHECKSUMS", data, True) != "1":
+ strict_checking = False
if not os.path.exists(localpath):
localpath = base_path_out(localpath, data)
bb.note("The localpath does not exist '%s'" % localpath)