debian-cd-clone/tools/boot/woody/boot-ia64

38 lines
863 B
Bash
Executable File

#!/bin/bash
#
# boot-ia64
#
# $1 is the CD number
# $2 is the temporary CD build dir
. $BASEDIR/tools/boot/$CODENAME/common.sh
set -e
N=$1
CDDIR=$2
BOOTDIR=
cd $CDDIR/..
# Only disc 1 bootable
if [ $N != 1 -a $N != 1_NONUS ]; then
echo "-J" > $N.mkisofs_opts
exit 0;
fi
install_languages $CDDIR
mkdir -p boot$N/boot
cp -f $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/images-1.44/rescue.bin boot$N/boot/
echo -n "-no-emul-boot -J -b boot/rescue.bin -c boot/boot.catalog boot$N" > $N.mkisofs_opts
# populate the install directory as well, with links to save space
# rescue.bin is 10MB on ia64
(cd $CDDIR/install; \
cp -lf ../dists/$CODENAME/main/disks-$ARCH/current/images-1.44/rescue.bin . ; \
cp -lf ../dists/$CODENAME/main/disks-$ARCH/current/linux.bin . ; \
cp -lf ../dists/$CODENAME/main/disks-$ARCH/current/root.bin . )
# th,th, thats all