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

38 lines
863 B
Plaintext
Raw Normal View History

2001-08-29 17:18:31 +00:00
#!/bin/bash
#
# boot-ia64
#
# $1 is the CD number
# $2 is the temporary CD build dir
. $BASEDIR/tools/boot/$CODENAME/common.sh
2001-08-29 17:18:31 +00:00
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
2001-08-29 17:18:31 +00:00
install_languages $CDDIR
2001-08-29 17:18:31 +00:00
mkdir -p boot$N/boot
cp -f $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/images-1.44/rescue.bin boot$N/boot/
2001-08-29 17:18:31 +00:00
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 . )
2001-08-29 17:18:31 +00:00
# th,th, thats all