[OpenBIOS] r742 - cpu/x86/pc/olpc

svn at openbios.org svn at openbios.org
Fri Nov 30 20:38:32 CET 2007


Author: wmb
Date: 2007-11-30 20:38:32 +0100 (Fri, 30 Nov 2007)
New Revision: 742

Modified:
   cpu/x86/pc/olpc/usb8388.bth
Log:
OLPC build process - check Libertas MD5 sum from individual checksum file
instead of from MD5SUMS, which is less prone to accidental corruption of
the checksum.





Modified: cpu/x86/pc/olpc/usb8388.bth
===================================================================
--- cpu/x86/pc/olpc/usb8388.bth	2007-11-28 03:21:05 UTC (rev 741)
+++ cpu/x86/pc/olpc/usb8388.bth	2007-11-30 19:38:32 UTC (rev 742)
@@ -9,11 +9,12 @@
 
 " wget -q http://dev.laptop.org/pub/firmware/libertas/usb8388-${WLAN_VERSION}.bin" expand$ $sh
 
-" wget -q -O - http://dev.laptop.org/pub/firmware/libertas/MD5SUMS  | grep ${WLAN_VERSION}  >usb8388.md5" expand$ $sh
+" wget -q http://dev.laptop.org/pub/firmware/libertas/usb8388-${WLAN_VERSION}.bin.md5" expand$ $sh
 
-" md5sum usb8388-${WLAN_VERSION}.bin | cmp - usb8388.md5" expand$ $sh
+" md5sum -b usb8388-${WLAN_VERSION}.bin | cmp - usb8388-${WLAN_VERSION}.bin.md5" expand$ $sh
 
 " mv usb8388-${WLAN_VERSION}.bin usb8388.bin" expand$ $sh
+" rm usb8388-${WLAN_VERSION}.bin.md5" expand$ $sh
 
 \ This forces the creation of a .log file, so we don't re-fetch
 writing usb8388.version




More information about the OpenBIOS mailing list