File:  [LON-CAPA] / doc / build / Attic / cdcompile.html
Revision 1.5: download - view: text, annotated - select for diffs
Fri Feb 8 22:19:43 2002 UTC (22 years, 8 months ago) by matthew
Branches: MAIN
CVS tags: version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, version_0_6_2, version_0_6, version_0_5_1, version_0_5, version_0_4, stable_2002_july, stable_2002_april, conference_2003, STABLE, HEAD
Minor typo change.

How to make a CD image of the LON-CAPA system
(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
cd loncom/build
rm -Rf BinaryRoot
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
make TARGET=/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 .
(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=8 dev=0,1,0 -blank=minimal)


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>