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

43 lines
682 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
set -x
N=$1
CDDIR=$2
BOOTDIR=
if [ ! "$WWW_HOME" ];then
WWW_HOME="http://people.debian.org/~jbailey/ia64"
fi
cd $CDDIR/..
# Only disc 1 bootable
if [ $N != 1 -a $N != 1_NONUS ]; then
echo "-J" > $N.mkisofs_opts
exit 0;
fi
# Download boot images
for image in cdrom-image.img; do
if [ ! -e "$image" ]; then
wget $WWW_HOME/$image
fi
done
#install_languages $CDDIR
mkdir -p boot$N/boot
cp -f cdrom-image.img boot$N/boot/
echo -n "-no-emul-boot -J -b boot/cdrom-image.img -c boot/boot.catalog boot$N" > $N.mkisofs_opts
# done