~tsimonq2/debian-cd/lubuntu-cosmic-changes

« back to all changes in this revision

Viewing changes to tools/boot/slink/boot-alpha

  • Committer: Arch Librarian
  • Date: 2005-03-22 00:56:04 UTC
  • Revision ID: Arch-1:debian-cd@arch.ubuntu.com%debian-cd--MAIN--0--patch-239
* Drop slink support.
Author: hertzog
Date: 2001-10-06 15:55:08 GMT
* Drop slink support.
* Drop dpkg-multicd support.
* Uses apt-ftparchive instead of dpkg-scan{packages,sources}
* Try to use extra override file (for Task: fields), not tested.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
#
3
 
# boot-alpha v 1.13 (c) Steve McIntyre <stevem@chiark.greenend.org.uk>
4
 
# and Loic Prylli <Loic.Prylli@ens-lyon.fr>
5
 
# Released under GPL 31 Mar 1999
6
 
# See the file COPYING for license details
7
 
# Released as part of the slink_cd package, not much use standalone
8
 
#
9
 
# Do install stuff for alpha, including making bootable CDs
10
 
#
11
 
 
12
 
N=$1
13
 
CDDIR=$2
14
 
 
15
 
cd $CDDIR/..
16
 
 
17
 
# Only disc 1 bootable
18
 
 
19
 
if [ $N != 1 ]; then 
20
 
        echo "-J" > $N.mkisofs_opts
21
 
        exit 0; 
22
 
fi
23
 
 
24
 
# Hack for bootable disks
25
 
mkdir -p boot1/boot
26
 
 
27
 
echo -n "-J boot1" > 1.mkisofs_opts
28
 
 
29
 
echo "extract aboot(bootlx) from sable set"
30
 
echo dump srmbootcode boot1/boot/bootlx |\
31
 
     debugfs $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/sable/resc1440.bin
32
 
for subarch in avanti avanti-s xl xlt cabriolet eb66 eb66p eb64p eb164 pc164 \
33
 
      lx164 sx164 jensen noname takara mikasa mikasa-p noritake noritake-p alcor miata \
34
 
           sable sable-g  book1    ruffian; do      
35
 
 mkdir boot1/boot/$subarch
36
 
 echo "drive m: file=\"$CDDIR/dists/stable/main/disks-$ARCH/current/$subarch/resc1440.bin\"" > mtoolsrc.tmp
37
 
 echo "extracting stuff for $subarch"
38
 
 case $subarch in
39
 
          jensen|noritake*|mikasa-p|sable*|book1|miata-s|avanti-s|generic)
40
 
       echo dump linux boot1/boot/$subarch/linux |\
41
 
          debugfs $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/$subarch/resc1440.bin
42
 
       ;;
43
 
       ruffian)
44
 
         MTOOLSRC=$CDDIR/../mtoolsrc.tmp mcopy m:linux m:milo m:ldmilo.exe boot1/boot/$subarch/.
45
 
   ;;         
46
 
       *)
47
 
         MTOOLSRC=$CDDIR/../mtoolsrc.tmp mcopy m:linux m:milo m:linload.exe boot1/boot/$subarch/.
48
 
   ;;
49
 
  esac
50
 
done
51
 
 
52
 
mkdir $CDDIR/tools/rawrite1
53
 
(cd $CDDIR/tools/rawrite1; \
54
 
   unzip -Lq $MIRROR/tools/rawrite1.zip )
55
 
 
56
 
mkdir $CDDIR/tools/rawrite2
57
 
(cd $CDDIR/tools/rawrite2; \
58
 
   unzip -Lq $MIRROR/tools/rawrite2.zip; \
59
 
   rm rawrite2.c )
60
 
 
61
 
(echo "Tools for DOS :" ; \
62
 
   echo "rawrite1/       rawrite 1.3 : create disks from disk images (*.bin)"; \
63
 
   echo "rawrite2/       rawrite 2.0 : create disks from disk images (*.bin)"; \
64
 
   echo "         rawrite 2.0 is much faster, but it locks up on some machines";\
65
 
   ) |todos > $CDDIR/tools/README.tools
66
 
 
67
 
cp $CDDIR/tools/rawrite1/rawrite3.com $CDDIR/install/rw1_3.com
68
 
cp $CDDIR/tools/rawrite2/rawrite2.exe $CDDIR/install/rw2_0.exe
69
 
 
70
 
exit 0