From 70605c7b44b1758bfe48db31d59f07272e3ec103 Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Thu, 8 Dec 2005 01:33:17 +0000 Subject: [PATCH] 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. --- tools/boot/etch/boot-hppa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/boot/etch/boot-hppa b/tools/boot/etch/boot-hppa index 198fc759..89459e23 100755 --- a/tools/boot/etch/boot-hppa +++ b/tools/boot/etch/boot-hppa @@ -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