From: Tom Walsh <tom@openhardware.net>
To: openembedded-devel@lists.openembedded.org
Subject: patch: shasum vs. sha256sum
Date: Mon, 02 Apr 2007 05:12:33 -0400 [thread overview]
Message-ID: <4610C901.2010306@openhardware.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
Just noticed that the sha256sum has been added to the
classes/sanity.bbclass and bitbake balked at running. This morning I
had installed perl-Digest::SHA to satisfy the need for 'shasum'.
I haven't found any package on Mandriva that provides 'sha256sum',
however, adding '-a 256' sets the sha256 algorithm for shasum? With
these two changes, bitbake seems to build the project ok, or, am I
missing something here?
Regards,
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
----------------------------------------------------
[-- Attachment #2: base.bbclass.patch --]
[-- Type: text/x-patch, Size: 443 bytes --]
--- classes/base.bbclass~ 2007-04-02 01:30:14.000000000 -0400
+++ classes/base.bbclass 2007-04-02 01:32:34.000000000 -0400
@@ -54,7 +54,7 @@
raise Exception("Executing md5sum failed")
try:
- shapipe = os.popen('shasum -a 2 -b ' + localpath)
+ shapipe = os.popen('shasum -a 256 -b ' + localpath)
shadata = (shapipe.readline().split() or [ "" ])[0]
shapipe.close()
except OSError:
[-- Attachment #3: sanity.bbclass.patch --]
[-- Type: text/x-patch, Size: 576 bytes --]
--- classes/sanity.bbclass~ 2007-04-02 01:38:59.000000000 -0400
+++ classes/sanity.bbclass 2007-04-02 01:39:27.000000000 -0400
@@ -86,7 +86,7 @@
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 sha256sum md5sum"
+ required_utilities = "patch diffstat texi2html makeinfo cvs svn git bzip2 tar gzip gawk shasum md5sum"
for util in required_utilities.split():
if not check_app_exists( util, e.data ):
next reply other threads:[~2007-04-02 9:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-02 9:12 Tom Walsh [this message]
2007-04-02 9:44 ` patch: shasum vs. sha256sum pHilipp Zabel
2007-04-02 9:52 ` Holger Freyther
2007-04-02 11:24 ` Florian Boor
2007-04-02 20:46 ` Holger Freyther
2007-04-02 15:13 ` Erik Hovland
2007-04-02 15:21 ` Marcin Juszkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4610C901.2010306@openhardware.net \
--to=tom@openhardware.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.