[OpenBIOS] r791 - cpu/x86/pc/olpc
svn at openbios.org
svn at openbios.org
Fri Jan 25 00:27:35 CET 2008
Author: wmb
Date: 2008-01-25 00:27:35 +0100 (Fri, 25 Jan 2008)
New Revision: 791
Modified:
cpu/x86/pc/olpc/verify.bth
Log:
OLPC build - verify md5sum for wireless firmware.
Modified: cpu/x86/pc/olpc/verify.bth
===================================================================
--- cpu/x86/pc/olpc/verify.bth 2008-01-24 23:25:58 UTC (rev 790)
+++ cpu/x86/pc/olpc/verify.bth 2008-01-24 23:27:35 UTC (rev 791)
@@ -10,8 +10,14 @@
" wget -q http://dev.laptop.org/pub/firmware/crypto/${KEYS}/fs.public -O fs.public" expand$ $sh
" wget -q http://dev.laptop.org/pub/firmware/crypto/${KEYS}/lease.public -O lease.public" expand$ $sh
" wget -q http://dev.laptop.org/pub/firmware/crypto/${KEYS}/developer.public -O developer.public" expand$ $sh
-" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-${CRYPTO_VERSION}.img -O verify.img" expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-${CRYPTO_VERSION}.img" expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-${CRYPTO_VERSION}.img.md5" expand$ $sh
+" md5sum -b bios_verify-${CRYPTO_VERSION}.img | cmp - bios_verify-${CRYPTO_VERSION}.img.md5" expand$ $sh
+
+" mv bios_verify-${CRYPTO_VERSION}.img verify.img" expand$ $sh
+" rm bios_verify-${CRYPTO_VERSION}.img.md5" expand$ $sh
+
\ This forces the creation of an verify.log file, so we don't re-fetch
writing verify.version
" ${CRYPTO_VERSION}"n" expand$ ofd @ fputs
More information about the OpenBIOS
mailing list