File:  [LON-CAPA] / doc / build / Attic / cdcompile.html
Revision 1.4: download - view: text, annotated - select for diffs
Mon May 21 20:25:37 2001 UTC (22 years, 11 months ago) by harris41
Branches: MAIN
CVS tags: stable_2002_spring, stable_2001_fall, HEAD
more notes

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=9 dev=0,1,0 -blank=minimal)


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