Add support for hppa.

This commit is contained in:
Richard Hirst 2001-09-10 10:15:59 +00:00
parent b20b2a36b6
commit 0434e7bd1a
3 changed files with 59 additions and 0 deletions

1
debian/changelog vendored
View File

@ -5,6 +5,7 @@ debian-cd (2.2.8) unstable; urgency=low
* Add support for ia64 (Richard Hirst). Closes #110553.
* Update the "Components" field of the Release files. Was
causing a bug in debootstrap.
* Add support for hppa (Richard Hirst).
-- Raphael Hertzog <hertzog@debian.org> Sun, 19 Aug 2001 13:42:27 +0200

28
tools/boot/woody/boot-hppa Executable file
View File

@ -0,0 +1,28 @@
#!/bin/bash
#
# boot-hppa
#
# $1 is the CD number
# $2 is the temporary CD build dir
# palo is used to make ISOs bootable on HPPA.
N=$1
CDROOT=$2
:> $1.mkisofs_opts
# Only disk 1* bootable
if [ $N != 1 -a $N != 1_NONUS ]; then
exit 0
fi
# post-boot script needs iplboot on the image to run palo. Could
# include iplboot in the bf-image build, but then in might not
# match the local systems version of palo (which may or may not
# matter).
cp -f /usr/share/palo/iplboot $CDROOT/install
exit 0

30
tools/boot/woody/post-boot-hppa Executable file
View File

@ -0,0 +1,30 @@
#!/bin/bash
#
# post-boot-hppa
#
# Do post-image-building tasks for hppa, to make CDs bootable.
#
# $1 is the CD number
# $2 is the temporary CD build dir
# $3 is the image file
set -e
N=$1
CDROOT=$2
CDIMAGE=$3
cd $CDROOT/..
# Only disk 1* bootable
if [ $N != 1 -a $N != 1_NONUS ]; then
exit 0
fi
palo --commandline="0/vmlinux root=/dev/ram initrd=0/ramdisk" \
--recoverykernel=CD1/dists/$CODENAME/main/disks-hppa/current/32/linux \
--recoverykernel=CD1/dists/$CODENAME/main/disks-hppa/current/64/linux \
--bootloader=CD1/install/iplboot \
--ramdisk=CD1/dists/$CODENAME/main/disks-hppa/current/root.bin \
--init-cdrom=$CDIMAGE --configfile=/dev/null