]> git.openpandora.org Git - openembedded.git/commitdiff
base.bbclass, sanity.bbclass: use sha256sum instead of shasum -a256
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 1 Apr 2007 21:42:48 +0000 (21:42 +0000)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 1 Apr 2007 21:42:48 +0000 (21:42 +0000)
classes/base.bbclass
classes/sanity.bbclass

index 2ea5251609c9bf97d1747122c2a3e350472c95b1..6f8196cf8067e65ce9020b4197f448d9aa89bc1b 100644 (file)
@@ -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:
index edef2805d4aa53bf2f0ec566c2056e0046bc8160..f38644b6cb9b891810f80795edf5f3411937345f 100644 (file)
@@ -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 ):