[Planetlab-devel] bootcd_v3 for wireless/mesh myplc

Chan, Winson C winson.c.chan at intel.com
Wed Nov 15 14:18:00 EST 2006


Marc,

On the gpg key error I'm getting, pl_boot downloaded the unverified
bootscript file but got a verification error.  It's saying no valid
OpenPGP data found, decryption failed.  I cancelled boot and checked the
file system.  The pbring.gpg and cacert.pem files are under /usr/boot of
the new node.  I also ran the curl and gpg commands manually and got the
same result.  

Could this be caused by the way I build the bootcd.img documented below
or caused by mismatch of keys that bootserver signs the script vs what's
being distributed in the bootcd.img?

1.	cvs -d :pserver:anonymous at cvs.planet-lab.org: /cvs co build 
2.	cvs -d :pserver:anonymous at cvs.planet-lab.org: /cvs co
bootmanager
3.	cd build
4.	./kupdate.sh kernel-xxxx.rpm
5.	cp /plc/root/usr/share/bootcd/build/isofs/bootcd.img .
6.	mkdir temp
7.	mv bootcd.img bootcd.img.gz
8.	gunzip bootcd.img.gz
9.	cd temp
10.	cpio -i --make-directories < ../bootcd.img
11.	copy software to the bootcd tree
12.	replaced pl_hwinit and pl_netinit
13.	(find . | cpio --quiet -c -o) | gzip -9 > ../bootcd.img
14.	mv ../bootcd.img
/plc/root/usr/share/bootcd/build/isofs/bootcd.img
15.	cd /plc/root/usr/share/bootcd
16.	./build.sh -f node.conf

Thanks.
Winson



More information about the Devel mailing list