Fix the code to find the kernel(s) for HPPA; JTE wants the path

relative to the root of the CD, not the absolute path on the host
filesystem.
This commit is contained in:
Steve McIntyre 2005-12-08 01:33:17 +00:00
parent e056559b50
commit 70605c7b44
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ cp "$DI_DIR"/initrd.gz "$CDROOT/install"
install_languages "$CDROOT"
K32=$(ls $CDROOT/install/vmlinux-*-parisc|head -1)
K64=$(ls $CDROOT/install/vmlinux-*-parisc64|head -1)
K32=$(ls $CDROOT/install/vmlinux-*-parisc|head -1 | sed 's?^.*/install/?install/?g')
K64=$(ls $CDROOT/install/vmlinux-*-parisc64|head -1 | sed 's?^.*/install/?install/?g')
RSIZE=$(expr $(zcat "$CDROOT/install/initrd.gz" | wc --bytes) / 1024)
echo " -hppa-cmdline '0/vmlinux,root=/dev/ram,initrd=0/ramdisk,ramdisk_size=$RSIZE,init=/linuxrc'" >> $1.mkisofs_opts