~cyphermox/debian-cd/server-live

« back to all changes in this revision

Viewing changes to tools/boot/etch/boot-hppa

  • Committer: Colin Watson
  • Date: 2005-11-06 09:34:49 UTC
  • mfrom: (unknown (missing))
  • Revision ID: Arch-1:colin.watson@canonical.com--2005%debian-cd--ubuntu--0--patch-205
merge from upstream up to patch-771
Patches applied:

 * debian-cd@arch.ubuntu.com/debian-cd--MAIN--0--patch-771
   Add etch stuff. Mostly copied unchanged from sarge, wit...

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#
 
3
# boot-hppa
 
4
#
 
5
# $1 is the CD number
 
6
# $2 is the temporary CD build dir
 
7
 
 
8
# palo is used to make ISOs bootable on HPPA.
 
9
 
 
10
. $BASEDIR/tools/boot/$DI_CODENAME/common.sh
 
11
 
 
12
set -e
 
13
 
 
14
N=$1
 
15
CDROOT=$2
 
16
if [ "$DI_WWW_HOME" = "default" ];then
 
17
   DI_WWW_HOME="http://people.debian.org/~jbailey/d-i/hppa/daily/cdrom/2.6"
 
18
fi
 
19
if [ ! "$DI_DIST" ]; then
 
20
   DI_DIST="$DI_CODENAME"
 
21
fi
 
22
 
 
23
:> $1.mkisofs_opts
 
24
 
 
25
# Only disk 1* bootable
 
26
if [ $N != 1 -a $N != 1_NONUS ]; then
 
27
        exit 0
 
28
fi
 
29
 
 
30
PALODEB="$($BASEDIR/tools/apt-selection cache show palo | \
 
31
        sed -n 's/^Filename: \(.*_hppa.deb\)$/\1/p')"
 
32
ar p "${MIRROR}/${PALODEB}" data.tar.gz | tar xz ./usr/share/palo/iplboot
 
33
mv usr/share/palo/iplboot $CDROOT/install/iplboot
 
34
 
 
35
if [ ! "$DI_WWW_HOME" ];then
 
36
        DI_DIR="$MIRROR/dists/$DI_DIST/main/installer-$ARCH/current/images/cdrom/2.6"
 
37
else
 
38
        DI_DIR="di_stuff"
 
39
        mkdir "$DI_DIR"
 
40
        wget -r -nd --no-parent -P "$DI_DIR" "$DI_WWW_HOME"
 
41
fi
 
42
        
 
43
cp "$DI_DIR"/vmlinux-*-32 "$CDROOT/install"
 
44
cp "$DI_DIR"/vmlinux-*-64 "$CDROOT/install"
 
45
cp "$DI_DIR"/initrd.gz "$CDROOT/install"
 
46
 
 
47
install_languages "$CDROOT"
 
48
 
 
49
exit 0