From 78008efbd058ca04a90d4837f404b06bcbd59d28 Mon Sep 17 00:00:00 2001 From: Santiago Garcia Mantinan Date: Wed, 8 Oct 2003 21:40:15 +0000 Subject: [PATCH] Added script to make ia64 cds bootable, thanks to Richard Hirst and JBailey --- tools/boot/sarge/boot-ia64 | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 tools/boot/sarge/boot-ia64 diff --git a/tools/boot/sarge/boot-ia64 b/tools/boot/sarge/boot-ia64 new file mode 100755 index 00000000..c3495af7 --- /dev/null +++ b/tools/boot/sarge/boot-ia64 @@ -0,0 +1,39 @@ +#!/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= + +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 -q http://people.debian.org/~jbailey/ia64/$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 +