Author: wmb Date: 2009-12-06 07:07:22 +0100 (Sun, 06 Dec 2009) New Revision: 1538
Added: cpu/x86/pc/olpc/via/verify.bth Log: Checked in Via version of verify.bth
Added: cpu/x86/pc/olpc/via/verify.bth =================================================================== --- cpu/x86/pc/olpc/via/verify.bth (rev 0) +++ cpu/x86/pc/olpc/via/verify.bth 2009-12-06 06:07:22 UTC (rev 1538) @@ -0,0 +1,24 @@ +purpose: Fetch the Crypto code and keys + +command: &builder &this +build-now + +fload ${BP}/cpu/x86/pc/olpc/via/versions.fth + +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/os.public -O os.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/fw.public -O fw.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/fs.public -O fs.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/lease.public -O lease.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/$%7BKEYS%7D/developer.public -O developer.public" expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-$%7BCRYPTO_VERSION%7D...." expand$ $sh +" wget -q http://dev.laptop.org/pub/firmware/crypto/bios_verify-$%7BCRYPTO_VERSION%7D...." 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 +ofd @ fclose
openfirmware@openfirmware.info