31 lines
689 B
Bash
Executable File
31 lines
689 B
Bash
Executable File
#!/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
|
|
|
|
/sbin/palo --commandline="0/vmlinux ramdisk_size=8192 root=/dev/ram \
|
|
initrd=0/ramdisk devfs=mount,dall init=/linuxrc DEBCONF_PRIORITY=high" \
|
|
--recoverykernel=$CDROOT/install/vmlinux-32 \
|
|
--recoverykernel=$CDROOT/install/vmlinux-64 \
|
|
--bootloader=$CDROOT/install/iplboot \
|
|
--ramdisk=$CDROOT/install/root.bin \
|
|
--init-cdrom=$CDIMAGE --configfile=/dev/null
|