Make sure the mkisofs options file goes in the right place

This commit is contained in:
Steve McIntyre 2006-12-21 15:27:50 +00:00
parent 9e51f3e13a
commit 67d9909bbe
1 changed files with 5 additions and 5 deletions

View File

@ -54,10 +54,10 @@ 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 $1.mkisofs_opts "-hppa-cmdline '0/vmlinux,root=/dev/ram,initrd=0/ramdisk,ramdisk_size=$RSIZE'"
add_mkisofs_opt $1.mkisofs_opts "-hppa-kernel-32 $K32"
add_mkisofs_opt $1.mkisofs_opts "-hppa-kernel-64 $K64"
add_mkisofs_opt $1.mkisofs_opts "-hppa-bootloader install/iplboot"
add_mkisofs_opt $1.mkisofs_opts "-hppa-ramdisk install/initrd.gz"
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-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"
add_mkisofs_opt $CDROOT/../$1.mkisofs_opts "-hppa-ramdisk install/initrd.gz"
exit 0