Package: debianutils
Version: 2.13.2

When I install the kernel with grub as the loader, mkboot shows a wrong
message, 

GRUB is installed. To automatically switch to new kernels, point your
default entry in menu.lst to /boot/arch/i386/boot/bzImage-2.6.11.11-cy

That image should be /boot/vmlinuz-2.6.11.11-cy. And this will cause
other problems, when for example it's used to make a boot disk.

The attached patch is a possible fix.


                coywolf


--- /sbin/installkernel.orig    2005-06-03 15:15:48.000000000 +0800
+++ /sbin/installkernel 2005-06-03 15:23:22.000000000 +0800
@@ -8,6 +8,8 @@
 # If you install it as /sbin/installkernel, you can do a "make install"
 # from a generic kernel source tree, and the image will be installed to
 # the proper place for Debian GNU/Linux.
+#
+# $img fix: 2005  Coywolf Qi Hunt <[EMAIL PROTECTED]>
 
 set -e
 
@@ -57,4 +59,8 @@
   updatever config "$config"
 fi
 
-mkboot -i ${dir}/${img}-${ver}
+if [ "$img" = "vmlinux" ] ; then
+  mkboot -i ${dir}/vmlinux-${ver}
+else
+  mkboot -i ${dir}/vmlinuz-${ver}
+fi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to