* CD install directory created by moving disks-m68k/<boot-floppies-version>
and replacing it with a symlink to the install directory.
This commit is contained in:
parent
5c07ab6020
commit
b5250e6d28
|
@ -1,39 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# boot-m68k v 1.14 (c) Steve McIntyre <stevem@chiark.greenend.org.uk>,
|
# boot-m68k Nick Holgate <holgate@debian.org>
|
||||||
# Chris Lawrence <lawrencc@debian.org>, Christian Steigies <cts@debian.org>,
|
# Released under GPL 14 June 2000
|
||||||
# Michael Schmitz <MSchmitz@lbl.gov>, Nick Holgate <holgate@debian.org>
|
|
||||||
# Released under GPL 31 Mar 1999
|
|
||||||
# See the file COPYING for license details
|
# See the file COPYING for license details
|
||||||
# Released as part of the slink_cd package, not much use standalone
|
# Released as part of the debian-cd package, not much use standalone
|
||||||
#
|
#
|
||||||
# Do install stuff for m68k, including making bootable CDs
|
# Do install stuff for m68k, including making bootable CDs or BVME4000/6000
|
||||||
#
|
#
|
||||||
# Enjoy! This is all completely free.
|
|
||||||
# - Chris Lawrence <lawrencc@debian.org>
|
|
||||||
#
|
|
||||||
# Rewritten by Steve McIntyre <stevem@chiark.greenend.org.uk> in sh to
|
|
||||||
# interface better with the slink_cd package and cope with the mirror
|
|
||||||
# layout, 28 Feb 1999.
|
|
||||||
# Hopefully this will do the same job as the python map stuff did, it
|
|
||||||
# appears to...
|
|
||||||
#
|
|
||||||
# If you're burning a CD, use the mkhybrid in potato (HFS is broken in the
|
|
||||||
# slink version of mkhybrid; at least it is for me). Please don't use Joliet
|
|
||||||
# extensions; some Mac kernels have apparently been known to choke on them
|
|
||||||
# (and you really shouldn't be supporting a Microsoft Standard anyway :-)
|
|
||||||
#
|
|
||||||
# You may also want the following:
|
|
||||||
# * A copy of the Linux/m68k FAQ
|
|
||||||
# * A copy of my m68k-specific README and m68k-tools directories
|
|
||||||
# * The m68k kernel sources from sunsite.auc.dk:/projects/680x0
|
|
||||||
# (Sunsite-Denmark is rsync-capable at sunsite.auc.dk::ftp)
|
|
||||||
#
|
|
||||||
# MVME/BVME users will love you if you also include the "tools" directory
|
|
||||||
# from the FTP site, since they may want/need rawwrite for MS-DOS.
|
|
||||||
#
|
|
||||||
# The first two items are in a tar file at master.debian.org:~lawrencc, along
|
|
||||||
# with a silly rsync script that will accomplish the last item.
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
#set -x
|
#set -x
|
||||||
|
@ -41,8 +14,6 @@ set -e
|
||||||
N=$1
|
N=$1
|
||||||
CDDIR=$2
|
CDDIR=$2
|
||||||
|
|
||||||
DISKSROOT="$MIRROR/dists/$CODENAME/main/disks-$ARCH/current"
|
|
||||||
|
|
||||||
cd $CDDIR/..
|
cd $CDDIR/..
|
||||||
|
|
||||||
echo -n "--netatalk -J -hfs -probe -map $BASEDIR/data/hfs.map" \
|
echo -n "--netatalk -J -hfs -probe -map $BASEDIR/data/hfs.map" \
|
||||||
|
@ -53,81 +24,42 @@ if [ $N != 1 ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Get real name of current disks directory
|
||||||
|
DISKSDIR=$CDDIR/dists/$CODENAME/main/disks-$ARCH
|
||||||
|
DISKSVER=$(readlink $DISKSDIR/current)
|
||||||
|
|
||||||
# Put CD boot image into place
|
# Put CD boot image into place
|
||||||
mkdir -p boot1/boot
|
mkdir -p boot1/boot
|
||||||
cp $DISKSROOT/bvme6000/images-2.88/rescue.bin boot1/boot
|
cp $DISKSDIR/current/bvme6000/images-2.88/rescue.bin boot1/boot
|
||||||
|
|
||||||
echo -n " -b boot/rescue.bin -c boot/boot.catalog boot1" \
|
echo -n " -b boot/rescue.bin -c boot/boot.catalog boot1" \
|
||||||
>> $N.mkisofs_opts
|
>> $N.mkisofs_opts
|
||||||
|
|
||||||
|
cd $CDDIR
|
||||||
|
|
||||||
|
# Clean out stuff created by installtools.sh
|
||||||
|
rm -rf install
|
||||||
|
|
||||||
|
# Put real disks directory in its place
|
||||||
|
mv $DISKSDIR/$DISKSVER install
|
||||||
|
|
||||||
|
# Make disks directory a symlink
|
||||||
|
ln -s ../../../../install $DISKSDIR/$DISKSVER
|
||||||
|
|
||||||
cd $CDDIR/install
|
cd $CDDIR/install
|
||||||
|
|
||||||
# Tools
|
# Redo work of installtools.sh
|
||||||
cp $DISKSROOT/rawrite2.exe $CDDIR/install
|
ln -sf install.en.html doc/index.html
|
||||||
cp $DISKSROOT/rawwrite.ttp $CDDIR/install
|
|
||||||
|
# Extra tools not yet in boot floppies
|
||||||
wget -q sunsite.auc.dk:/pub/os/linux/680x0/tools/dmesg.readme -O dmesg.readme
|
wget -q sunsite.auc.dk:/pub/os/linux/680x0/tools/dmesg.readme -O dmesg.readme
|
||||||
wget -q sunsite.auc.dk:/pub/os/linux/680x0/tools/dmesg -O dmesg
|
wget -q sunsite.auc.dk:/pub/os/linux/680x0/tools/dmesg -O dmesg
|
||||||
chmod a+x dmesg
|
chmod a+x dmesg
|
||||||
|
|
||||||
for TYPE in amiga atari bvme6000 mac mvme16x
|
# Amiboot needs to be executable
|
||||||
do
|
chmod a+x amiga/amiboot-5.6
|
||||||
#vecho Installing $TYPE files
|
|
||||||
if [ ! -d $TYPE/images-1.44 ] ; then
|
|
||||||
mkdir -p $TYPE/images-1.44
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp $DISKSROOT/$TYPE/images-1.44/* $TYPE/images-1.44
|
# Need a .info file for the install directory (AmigaOS)
|
||||||
done
|
cp amiga.info $CDDIR/install.info
|
||||||
|
|
||||||
# Atari extras
|
|
||||||
D=atari
|
|
||||||
S=$DISKSROOT/$D
|
|
||||||
cp $S/bootargs $D
|
|
||||||
cp $S/bootstra.prg $D
|
|
||||||
cp $S/install.doc $D
|
|
||||||
cp $S/linux $D
|
|
||||||
cp $S/root.bin $D
|
|
||||||
|
|
||||||
# Amiga extras
|
|
||||||
D=amiga
|
|
||||||
S=$DISKSROOT/$D
|
|
||||||
cp $S/ReadMe_First* $D
|
|
||||||
cp $S/StartInstall* $D
|
|
||||||
cp $S/*.txt $D
|
|
||||||
cp $S/*.txt.info $D
|
|
||||||
cp $S/install.* $D
|
|
||||||
cp $S/linux $D
|
|
||||||
cp $S/root.bin $D
|
|
||||||
cp $S/amiboot-5.6 $D
|
|
||||||
# Needs to be executable
|
|
||||||
chmod a+x $D/amiboot-5.6
|
|
||||||
cp $DISKSROOT/amiga.info $CDDIR/install
|
|
||||||
cp $DISKSROOT/amiga.info $CDDIR/install.info
|
|
||||||
|
|
||||||
# BVME6000 extras
|
|
||||||
D=bvme6000
|
|
||||||
S=$DISKSROOT/$D
|
|
||||||
cp $S/linuxbvme6000 $D
|
|
||||||
cp $S/rootbvme6000.bin $D
|
|
||||||
cp $S/tftplilo.* $D
|
|
||||||
cp $S/install.txt $D
|
|
||||||
cp $S/bvmbug* $D
|
|
||||||
|
|
||||||
# MVME16x extras
|
|
||||||
D=mvme16x
|
|
||||||
S=$DISKSROOT/$D
|
|
||||||
cp $S/linuxmvme16x $D
|
|
||||||
cp $S/rootmvme16x.bin $D
|
|
||||||
cp $S/tftplilo.* $D
|
|
||||||
cp $S/install.txt $D
|
|
||||||
|
|
||||||
# Mac extras
|
|
||||||
D=mac
|
|
||||||
S=$DISKSROOT/$D
|
|
||||||
cp $S/linux $D
|
|
||||||
cp $S/root.bin $D
|
|
||||||
cp $S/*.img $D
|
|
||||||
cp $S/install/* $D
|
|
||||||
|
|
||||||
##-----------------------------< end of file >------------------------------##
|
##-----------------------------< end of file >------------------------------##
|
||||||
|
|
Loading…
Reference in New Issue