3
# boot-sparc v 1.13 (c) Steve Dunham <dunham@cse.msu.edu>, Eric
4
# Delaunay <delaunay@lix.polytechnique.fr>, Steve McIntyre
5
# <stevem@chiark.greenend.org.uk>
6
# Released under GPL 31 Mar 1999
7
# See the file COPYING for license details
8
# Released as part of the slink_cd package, not much use standalone
10
# Do install stuff for sparc, including making bootable CDs
23
echo -n "boot1" > $N.mkisofs_opts
27
# temporary mount point (eg. for silo to create the bootable CD image)
28
# only needed for Sparc so far...
29
#vecho Checking for temporary mount point for SILO
30
mountpoint=/var/tmp/debian_cd.mnt
31
if [ -d $mountpoint ]; then
32
umount $mountpoint || true
37
# put the relevant parts of SILO boot loader
39
cp -p $BOOTDIR/cd.b $BOOTDIR/second.b boot1/boot
40
cat - > boot1/boot/silo.conf << __EOF__
44
image[sun4c,sun4d,sun4m]=!cd2
50
image[sun4c,sun4d,sun4m]=!cd3
58
# linux kernel & co are fetched directly from the install dir
59
# ... put the message banner in boot/debian.txt
61
(cd $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/ ; \
62
cp -p linux-a.out linux-2.2.1-sun4u-a.out \
63
linux-2.2.1-a.out root.bin sparc_release_note.txt \
66
#echo mount -r -o loop \
67
# $MIRROR/dists/$CODENAME/main/disks-$ARCH/current/resc1440.bin \
70
$MIRROR/dists/$CODENAME/main/disks-$ARCH/current/resc1440.bin \
72
cp -p $mountpoint/debian.txt boot1/boot/debian.txt