#!/bin/bash # # boot-s390 version 0.1 # # (C) 2001 Jochen Röhrig # # Released under the GNU general Public License. # See the copyright file for license details. # Released as part of the debian_cd package, not much use stand alone. # # Install stuff for booting an s390 system from VM-reader, tape, # FTP-server, CD-ROM or emulated tape. # # $1 is the CD number # $2 is the temporary CD build dir set -e N=$1 CDDIR=$2 cd $CDDIR/.. if [ $N != "1" ] && [ $N != "1_NONUS" ] ; then exit 0 fi mkdir -p boot$N/boot # # Install the two kernel images, the ramdisk and the parameter file # # image for booting from VM-reader ln $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/s390/linux \ boot$N/boot/linux_vm # image for booting from tape ln $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/s390-tape/linux \ boot$N/boot/linux_tp # initrd ln $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/root.bin \ boot$N/boot/root.bin # parmfile ln $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/parmfile \ boot$N/boot/parmfile # # Create the .ins-files for booting from CD-ROM or FTP-Server # cat > boot$N/boot/d390.ins < boot$N/boot/d390oco.ins < boot$N/boot/d390.tdf < boot$N/boot/d390oco.tdf <> $N.mkisofs_opts