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
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# boot-i386 v 1.13 (c) Steve McIntyre <stevem@chiark.greenend.org.uk>
|
# boot-i386 v 1.13 (c) Steve McIntyre <stevem@chiark.greenend.org.uk>
|
||||||
|
@ -12,15 +13,24 @@
|
||||||
#
|
#
|
||||||
# $1 is the CD number
|
# $1 is the CD number
|
||||||
# $2 is the temporary CD build dir
|
# $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
|
set -e
|
||||||
|
|
||||||
N=$1
|
N=$1
|
||||||
CDDIR=$2
|
CDDIR=$2
|
||||||
BOOTDIR=
|
BOOTDIR=
|
||||||
|
|
||||||
|
|
||||||
# set bootdisks to potato for the moment.
|
# 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/..
|
cd $CDDIR/..
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue