2001-09-10 10:15:59 +00:00
|
|
|
#!/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" \
|
2002-03-30 17:28:11 -01:00
|
|
|
--recoverykernel=CD1/dists/$CODENAME/main/disks-hppa/current/32/linux.bin \
|
|
|
|
--recoverykernel=CD1/dists/$CODENAME/main/disks-hppa/current/64/linux.bin \
|
2001-09-10 10:15:59 +00:00
|
|
|
--bootloader=CD1/install/iplboot \
|
|
|
|
--ramdisk=CD1/dists/$CODENAME/main/disks-hppa/current/root.bin \
|
|
|
|
--init-cdrom=$CDIMAGE --configfile=/dev/null
|
|
|
|
|