update to /tools/boot/woody/i386 to check for existance of bootdisks --jwest
This commit is contained in:
parent
3c4dd7d6db
commit
5d74a85ef4
|
@ -1,3 +1,4 @@
|
|||
B
|
||||
#!/bin/bash
|
||||
#
|
||||
# boot-i386 v 1.13 (c) Steve McIntyre <stevem@chiark.greenend.org.uk>
|
||||
|
@ -12,15 +13,24 @@
|
|||
#
|
||||
# $1 is the CD number
|
||||
# $2 is the temporary CD build dir
|
||||
# CODENAME1 used temporarly to point to potato boot disks -- jwest
|
||||
|
||||
# CODENAME1 used temporarly to point to potato boot disks
|
||||
# if potato boot disks do not exist 05-JUL-2000 -- jwest
|
||||
set -e
|
||||
|
||||
N=$1
|
||||
CDDIR=$2
|
||||
BOOTDIR=
|
||||
|
||||
|
||||
# set bootdisks to potato for the moment.
|
||||
CODENAME1=potato
|
||||
if [ -f $MIRROR/dists/$CODENAME/main/disks-$ARCH/current/images-2.88/compact/rescue.bin ]; then
|
||||
echo "Using woody bootdisks"
|
||||
CODENAME1=$CODENAME
|
||||
else
|
||||
echo "Using potato bootdisks"
|
||||
CODENAME1=potato
|
||||
fi
|
||||
|
||||
|
||||
cd $CDDIR/..
|
||||
|
||||
|
|
Loading…
Reference in New Issue