boot-hppa: support KERNEL_PARAMS

This is mainly to have the desktop= option passed correctly.
Also switch to space separation in -hppa-cmdline for consistency with
other architectures.
This commit is contained in:
Frans Pop 2008-12-05 09:08:20 +00:00
parent 78905cc873
commit ae69a5b14e
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -61,6 +61,7 @@ debian-cd (3.1.0) UNRELEASED; urgency=low
[ Frans Pop ]
* make_image: ensure correct quoting of variables when calling genisoimage.
Closes: #507300.
* boot-hppa: support KERNEL_PARAMS (so desktop= can be passed).
-- Frans Pop <fjp@debian.org> Fri, 05 Dec 2008 10:04:03 +0100

View File

@ -54,7 +54,7 @@ K32=$(ls $CDROOT/install/vmlinux-*-parisc|head -1 | sed 's?^.*/install/?install/
K64=$(ls $CDROOT/install/vmlinux-*-parisc64|head -1 | sed 's?^.*/install/?install/?g')
RSIZE=$(expr $(zcat "$CDROOT/install/initrd.gz" | wc --bytes) / 1024)
add_mkisofs_opt $CDROOT/../$1.mkisofs_opts "-hppa-cmdline '0/vmlinux,root=/dev/ram,initrd=0/ramdisk,ramdisk_size=$RSIZE'"
add_mkisofs_opt $CDROOT/../$1.mkisofs_opts "-hppa-cmdline '0/vmlinux root=/dev/ram initrd=0/ramdisk ramdisk_size=$RSIZE${KERNEL_PARAMS:+ $KERNEL_PARAMS}'"
add_mkisofs_opt $CDROOT/../$1.mkisofs_opts "-hppa-kernel-32 $K32"
add_mkisofs_opt $CDROOT/../$1.mkisofs_opts "-hppa-kernel-64 $K64"
add_mkisofs_opt $CDROOT/../$1.mkisofs_opts "-hppa-bootloader install/iplboot"