OLE Nepal:Procedure to build NEXS from OLPC XS

From OLPC
Revision as of 05:13, 21 October 2008 by 202.63.240.6 (talk)
Jump to: navigation, search

.h1 Procedure to build NEXS from OLPC XS This page describes the procedure to use when creating the NEXS server .iso from the OLPC_XS-0.x.iso. At present it is under development.

Download iso image

We need the base iso image to be on our local fileserver so that in the case of problems we can go back to the source of the procedure.

Download XS iso and md5 files to the OLENepal fileserver/ole_storage/Software/schoolserver/XS/XS-0.x folder:

This should work on a Fedora system(it needs to be tested):

 wget http://xs-dev.laptop.org/xs/OLPC_XS_0_4.iso 
 md5sum OLPC_XS_0_4.iso > OLPC_XS_0_4.iso.md5
 mkdir smb://fileserver/ole_storage/Software/schoolserver/XS/XS_0_4
 cp OLPC_XS_0.4.iso smb://fileserver/ole_storage/Software/schoolserver/XS/XS_0_4

alternatively download to an ubuntu system:

 wget http://xs-dev.laptop.org/xs/OLPC_XS_0_4.iso
 md5sum OLPC_XS_0_4.iso > OLPC_XS_0_4.iso.md5
 places/network/fileserver/ole_storage/Software/schoolserver/XS
 create folder XS_0_4
 copy the downloaded OLPC_XS_0_4.iso to the new XS_O_4 folder

Note: currently the md5 checksum for the iso file is not given at http://xs-dev.laptop.org/xs/. It would be better to verify the download of the iso file against an md5 checksum created by the developer. However, this test will confirm that a copy from the fileserver is correct.

Procedure to make revised iso image

This procedure allows changes to the kickstart file and to the packages included in the NEXS iso image.

mkdir temp cd temp mkdir XSiso mount -o loop OLPC_XS_0.4.iso XSiso unsquashfs XSiso/LiveOS/squashfs.img mkdir livecd-root mount -o loop,rw squashfs-root/LiveOS/os.img livecd-root

now make changes as needed

umount livecd-root mv squashfs.img squashfs.img.orig mksquashfs squashfs-root squashfs.img mkdir NEXSiso rsync -av --exclude=śquashfs.img' XSiso NEXSiso mv squashfs.img NEXSiso/LiveOS umount XSiso