[oe] Verifying the SHA256 and MD5Sum
zecke at selfish.org
Sat Mar 31 23:32:01 CEST 2007
as of prior discussion I have committed a patch to base.bbclass to
verify the SHA256 and MD5 of files. In contrast to the md5sum
attribute I/we have decided to use an external file to keep track of
the values. This allows more easy updating and more readable SRC_URI
So the filename is conf/checksums.ini and follows the BBPATH like
configuration files and it is using the INI file format known from
KDE (or hopefully not from Windows)
[PN-PV-URI] or [PN-URI] are know sections/groups. and these contain
two keys "md5" and "sha256" to store the sums.
A small example showing the file-native and ftp://... as the SRC_URI.
The only downside is with -native packages as one need to list the
files twice. So do you have comments? Do we want to go this route? Do
we want to make it mandantory that all http,ftp file downloads have
the md5 sum attached?
More information about the Openembedded-devel