On ���, 2001-10-18 at 22:12, Gregory Margo wrote:
> I received an error installing the latest kernel:
>     "There is no /lib/modules/yes, skipping creation of initrd"
> 
> I had just upgraded mkinitrd and initscripts to the cooker levels:
>     mkinitrd-3.1.6-10mdk
>     initscripts-6.27-20mdk
> 
> Edited /etc/sysconfig/installkernel so
>     NOLINK="yes"
> 



Well, /sbin/installkernel expects NOLINK to be either empty or -n or --nolink. We may 
change comments in /etc/sysconfig/installkernel, but setting it to -n is pretty weird 
so I guess it is better to fix /sbin/istallkernel. Something like:

--- /sbin/installkernel~        Thu Oct 18 14:43:19 2001
+++ /sbin/installkernel Thu Oct 18 22:46:01 2001
@@ -135,6 +135,7 @@
 [[ -n $4 ]] && boot=$4 || boot=/boot

 [[ $AUTOREMOVE = "no" ]] && REMOVE=""
+[[ "$NOLINK" = "yes" ]] && NOLINK=-n

 [[ -z $NOCOPY ]] && copy_image
 [[ -z $NOLINK ]] && [[ -z $REMOVE ]] && do_link

-andrej

Reply via email to