#!/bin/bash # # boot-alpha v 1.13 (c) Steve McIntyre # and Loic Prylli # Released under GPL 31 Mar 1999 # See the file COPYING for license details # Released as part of the slink_cd package, not much use standalone # # Do install stuff for alpha, including making bootable CDs # set -e N=$1 CDDIR=$2 cd $CDDIR/.. # Only disc 1 bootable if [ $N != 1 -a $N != 1_NONUS ]; then echo "-J" > $N.mkisofs_opts exit 0; fi # Hack for bootable disks mkdir -p boot1/boot echo -n "-J boot1" > $N.mkisofs_opts # Use the generic linux image cp -f $CDDIR/dists/stable/main/disks-$ARCH/current/linux \ boot1/boot/linux # Copy over the subarch boot-loaders mkdir boot1/milo cp -f $CDDIR/dists/stable/main/disks-$ARCH/current/MILO/* \ boot1/milo/ # Now the APB stuff mkdir boot1/apb cp -f $CDDIR/dists/stable/main/disks-$ARCH/current/APB/* \ boot1/apb/ mkdir $CDDIR/tools/rawrite1 (cd $CDDIR/tools/rawrite1; \ unzip -Lq $MIRROR/tools/rawrite1.zip ) mkdir $CDDIR/tools/rawrite2 (cd $CDDIR/tools/rawrite2; \ unzip -Lq $MIRROR/tools/rawrite2.zip; \ rm rawrite2.c ) (echo "Tools for DOS :" ; \ echo "rawrite1/ rawrite 1.3 : create disks from disk images (*.bin)"; \ echo "rawrite2/ rawrite 2.0 : create disks from disk images (*.bin)"; \ echo " rawrite 2.0 is much faster, but it locks up on some machines";\ ) |todos > $CDDIR/tools/README.tools cp -f $CDDIR/tools/rawrite1/rawrite3.com $CDDIR/install/rw1_3.com cp -f $CDDIR/tools/rawrite2/rawrite2.exe $CDDIR/install/rw2_0.exe exit 0