version 1.1, 2001/05/16 20:08:11
|
version 1.4, 2001/05/21 20:25:37
|
Line 1
|
Line 1
|
How to make a CD image of the LON-CAPA system |
How to make a CD image of the LON-CAPA system |
(current procedure) |
(current procedure) |
|
|
|
have to get a new genhdlist when packages |
|
built with rpm upgrade (rpm 4+).. |
|
found from redhat 7 anaconda-runtime |
|
anaconda-runtime-7.1-7.i386.rpm (rawhide) |
|
cp -p /usr/lib/anaconda-runtime/genhdlist |
|
currentcdsource/misc/src/anaconda/utils/genhdlist |
|
|
|
and rebuild xntp3 from src.rpm using |
|
original rpm-* and also need automake, libtool |
|
|
as root |
as root |
cd loncom/build |
cd loncom/build |
rm -Rf BinaryRoot |
rm -Rf BinaryRoot |
make RPM |
make RPM |
|
after this step, probably want to update doc/otherfiles/cd_rpms.txt |
|
cd /mnt/loncapacd/install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/. |
|
[harris41@spock RPMS]$ rpm -qp --queryformat '%{NAME}\t%{VERSION}\t%{BUILDTIME}\n' *.rpm | sort > /home/harris41/loncapa/doc/otherfiles/cd_rpms.txt |
|
cvs commit, etc |
cd loncom/anaconda |
cd loncom/anaconda |
make TARGET=/mnt/loncapacd/install.lon-capa.org/3.1/currentcdsource |
make TARGET=/mnt/loncapacd/install.lon-capa.org/3.1/currentcdsource |
cd /mnt/loncapacd/install.lon-capa.org/3.1/currentcdsource |
cd /mnt/loncapacd/install.lon-capa.org/3.1/currentcdsource |
mkisofs -v -R -T -V "LON-CAPA and Red Hat 6.2" -b images/boot.img -c boot.cat -o /loncapa.img . |
mkisofs -v -R -T -V "LON-CAPA and Red Hat 6.2" -b images/boot.img -c boot.cat -o /loncapa.img . |
cdrecord -v speed=9 dev=0,1,0 /loncapa.img |
(can always check with |
|
mount -o ro,loop=/dev/loop0 -t iso9660 /loncapa.img /mountpointsomewhere |
|
) |
|
cdrecord -v speed=8 dev=0,1,0 /loncapa.img |
|
(when using a cd-rw, need to clear first with something like |
|
cdrecord -v speed=9 dev=0,1,0 -blank=minimal) |
|
|