summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-04-01 21:42:48 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2007-04-01 21:42:48 +0000
commit7870e6d52d38140b0789176e98aa658f8e52ed5a (patch)
tree18ff7470df5770697f3a5869f9e5e97e1455db75 /classes
parent470744264bf335b0acdc5e9db2b35f1bda73b72d (diff)
base.bbclass, sanity.bbclass: use sha256sum instead of shasum -a256
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass2
-rw-r--r--classes/sanity.bbclass2
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 2ea5251609..6f8196cf80 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -54,7 +54,7 @@ def base_chk_file(parser, pn, pv, src_uri, localpath):
raise Exception("Executing md5sum failed")
try:
- shapipe = os.popen('shasum -a256 -p ' + localpath)
+ shapipe = os.popen('sha256sum -b ' + localpath)
shadata = (shapipe.readline().split() or [ "" ])[0]
shapipe.close()
except OSError:
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index edef2805d4..f38644b6cb 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -86,7 +86,7 @@ def check_sanity(e):
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (${BUILD_PREFIX}g++),"
- required_utilities = "patch diffstat texi2html makeinfo cvs svn git bzip2 tar gzip gawk shasum md5sum"
+ required_utilities = "patch diffstat texi2html makeinfo cvs svn git bzip2 tar gzip gawk sha256sum md5sum"
for util in required_utilities.split():
if not check_app_exists( util, e.data ):