#!/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 . $BASEDIR/tools/boot/$CODENAME/common.sh set -e N=$1 CDDIR=$2 cd $CDDIR/.. if [ $N != "1" ] && [ $N != "1_NONUS" ] ; then echo "-J" > $N.mkisofs_opts exit 0 fi mkdir -p boot$N/boot install_languages $CDDIR # # 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/vmrdr/kernel.debian \ boot$N/boot/linux_vm # image for booting from tape ln $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/tape/kernel.debian \ boot$N/boot/linux_tp # image for booting from emulated tape (nolabel) ln $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/tape/kernel.debian-nolabel \ boot$N/boot/linux_nl # initrd ln $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/tape/initrd.debian \ boot$N/boot/root.bin # parmfile ln $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/tape/parmfile.debian \ 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