Annotation of doc/build/cdcompile.html, revision 1.5

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

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