mirror of
https://salsa.debian.org/images-team/debian-cd.git
synced 2024-11-24 15:19:51 -01:00
Added script to make ia64 cds bootable, thanks to Richard Hirst and JBailey
This commit is contained in:
parent
5ab948e0c7
commit
78008efbd0
39
tools/boot/sarge/boot-ia64
Executable file
39
tools/boot/sarge/boot-ia64
Executable file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user