Apply patch from Bdale to make CD building work correctly on HPPA.

This commit is contained in:
Tollef Fog Heen 2005-09-29 08:01:49 +00:00
parent 9fdb678d8b
commit d44ee5d938
2 changed files with 4 additions and 4 deletions

View File

@ -46,8 +46,8 @@ else
wget -r -nd --no-parent -P "$DI_DIR" "$DI_WWW_HOME"
fi
cp "$DI_DIR"/vmlinux-*-32 "$CDROOT/install"
cp "$DI_DIR"/vmlinux-*-64 "$CDROOT/install"
cp "$DI_DIR"/vmlinux-*-parisc "$CDROOT/install"
cp "$DI_DIR"/vmlinux-*-parisc64 "$CDROOT/install"
cp "$DI_DIR"/initrd.gz "$CDROOT/install"
install_languages "$CDROOT"

View File

@ -21,8 +21,8 @@ if [ $N != 1 -a $N != 1_NONUS ]; then
exit 0
fi
K32=$(ls $CDROOT/install/vmlinux-*-32|head -1)
K64=$(ls $CDROOT/install/vmlinux-*-64|head -1)
K32=$(ls $CDROOT/install/vmlinux-*-parisc|head -1)
K64=$(ls $CDROOT/install/vmlinux-*-parisc64|head -1)
RSIZE=$(expr $(zcat "$CDROOT/install/initrd.gz" | wc --bytes) / 1024)
/sbin/palo \
--commandline="0/vmlinux root=/dev/ram initrd=0/ramdisk ramdisk_size=$RSIZE init=/linuxrc" \