This is not correct. Robert is talking about the md5sum checking the bitbake fetch code can do based on a URL parameter, not the new method that Phil wrote in _OE_ which associates a name to the URL and stores the md5 sum in a variable flag. Both checksums.ini and the bitbake fetch md5sum param checks are old methods, not current.
-- Chris Larson On Jan 16, 2010, at 1:07 PM, Denys Dmytriyenko <[email protected]> wrote: > On Sat, Jan 16, 2010 at 05:29:56AM -0500, Robert P. J. Day wrote: >> >> i note in the manual section on wget Fetcher the reference to the >> single supported "md5sum" parameter. so ... >> >> * it's not just that fetcher that supports that param, is it? i can >> see some md5sum-related methods defined in __init__.py -- doesn't >> that >> suggest that *all* Fetchers theoretically support that parameter? >> >> * more to the point, is anything actually checking those md5sum >> values? i thought the checksums.ini file was used for md5 and sha256 >> sums. >> >> so what happens if a .bb file has a SRC_URI directive that defines >> that parameter? is it processed? does it take precedence over the >> checksums file? thanks. > > Please check the outcome of OEDEM'09 on the checksums: > http://thread.gmane.org/gmane.comp.handhelds.openembedded/27465 > >> p.s. as an actual example, here's a snippet from checksums.ini: >> >> [http://download.berlios.de/net-tools/net-tools-1.60.tar.bz2] >> md5=888774accab40217dde927e21979c165 >> sha256= >> 7ae4dd6d44d6715f18e10559ffd270511b6e55a8900ca54fbebafe0ae6cf7d7b > > This is the old way. > >> and here's SRC_URI from recipes/net-tools/net-tools_1.60.bb: >> >> SRC_URI = >> "http://download.berlios.de/${PN}/${PN}-${PV}.tar.bz2;md5sum=888774accab40217dde927e21979c165 >> \ > > And this is the new preferred way. > >> note that, yes, the md5sum values match. but why have that info in >> both places? what's the standard these days? > > -- > Denys > _______________________________________________ > Bitbake-dev mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/bitbake-dev _______________________________________________ Bitbake-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bitbake-dev
