[tex-live] How to create my own images

Sebastian Rahtz sebastian.rahtz@computing-services.oxford.ac.uk
Fri, 17 May 2002 17:59:59 +0100


On Fri, May 17, 2002 at 06:41:01PM +0200, Norbert Preining wrote:
> Hi Sebastian! Hi List!
> 
> How do I create my own CD images? I have everything on my linux pc
> and want to make install cds for use on winxp etc, but without 
> the need to download the whole bunch.
> 
 
here is a the shell script I use to make the CD images.
obviously, check the directory paths. that makes you
two .iso files.

is this what you mean?

D=`date '+%Y%m%d'`
echo Making image 1 dated $D
cd /home/tlprod/Master
rm -f install-cd.sh
cp install-cd-1.sh install-cd.sh
chmod 755 install-cd.sh
mkisofs -pad -J -dir-mode 0755 -r -v \
-m "./support/TXCSetup.exe" \
-m "./install-cd-1.sh" \
-m "./install-cd-2.sh" \
-m "./bin/alpha-linux" \
-m "./bin/alphaev5-osf4.0d" \
-m "./bin/hppa2.0-hpux10.20" \
-m "./bin/i386-freebsd" \
-m "./bin/i386-solaris2.8" \
-m "./bin/mips-irix6.5" \
-m "./bin/powerpc-aix4.3.3.0" \
-m "./bin/sparc-solaris2.7" \
-m "./include" \
-m "./lib"  \
-o /home/tlprod/.texlive.iso .
mv /home/tlprod/.texlive.iso /home/tlprod/texlive7-1-$D.iso
cp install-cd-2.sh install-cd.sh
chmod 755 install-cd.sh
echo Making image 2 dated $D
mkisofs -pad -J -dir-mode 0755 -r -v \
-m "./MacOSX" \
-m "./autorun.ini" \
-m "./autorun.inf" \
-m "./AUTORUN.EXE" \
-m "./joliet.sit" \
-m "./install-cd-1.sh" \
-m "./install-cd-2.sh" \
-m "./bin/win32" \
-m "./bin/i386-linux" \
-m "./bin/powerpc-darwin5.3" \
-m "./bin/i386-solaris2.8" \
-m "./Master/texmf/ispell" \
-m "./Books/lwc.tar.gz" \
-m "./Books/maketexwork.tar.gz" \
-m "./Books/mil.tar.gz" \
-m "./setupw32" \
-m "./usergrps" \
-m "./support/ghostscript" \
-m "./support/WinShell" \
-m "./support/mpedit.zip" \
-m "./support/emacs-21.2-win32.zip" \
-m "./support/netpbm-9.6.20-win32.zip" \
-o /home/tlprod/.texlive.iso .
mv /home/tlprod/.texlive.iso /home/tlprod/texlive7-2-$D.iso

rm -f install-cd.sh

#bzip2 .texlive.iso
#mv .texlive.iso.bz2 texlive-$D.iso.bz2
#chmod 666 texlive-$D.iso.bz2

-- 
Sebastian Rahtz      OUCS Information Manager
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431