Chmouel Boudjnah <[EMAIL PROTECTED]> writes:

> "kk1" <[EMAIL PROTECTED]> writes:
> 
> > Can't believe I'm so dumb. This is of course the sound driver I have to
> > install separately.
> > Now, it raises another question. Should this remaining orphan module
> > prevent the kernel entry to be removed from the grub menu.lst file?
> 
> the autoremoval of installkernel is currently broken..

well if you use grub, can you try this patch[1] ? :

Index: grub
===================================================================
RCS file: /home/cvs/cooker/soft/initscripts/mandrake/loader/grub,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -u -r1.14 -r1.15
--- grub        2001/04/11 04:11:21     1.14
+++ grub        2001/08/16 12:54:54     1.15
@@ -7,7 +7,7 @@
 # Redistribution of this file is permitted under the terms of the GNU 
 # Public License (GPL)
 #--------------------------------------------------------------------
-# $Id: grub,v 1.14 2001/04/11 04:11:21 chmouel Exp $
+# $Id: grub,v 1.15 2001/08/16 12:54:54 chmouel Exp $
 #--------------------------------------------------------------------
 ## description: 
 #            Add/check entry for grub bootloader.
@@ -105,11 +106,11 @@
     open O, ">$output";
     select O unless $debug;
     while (<F>) {
-       if (m@title $glabel\nkernel.*vmlinuz-$version.*?(?=(title|$))@s) {
-           if (m@title $glabel\nkernel.*vmlinuz-$version.*title@s) {
-               $_ =~ s@title $glabel\nkernel.*vmlinuz-$version.*?(?=title)@@s;
+       if (m@title $glabel\nkernel.*vmlinuz-.*?(?=(title|$))@s) {
+           if (m@title $glabel\nkernel.*vmlinuz-.*title@s) {
+               $_ =~ s@title $glabel\nkernel.*vmlinuz-.*?(?=title)@@s;
            } else {
-               $_ =~ s@title $glabel\nkernel.*vmlinuz-$version.*$@@s;
+               $_ =~ s@title $glabel\nkernel.*vmlinuz-.*$@@s;
            }
        }
        print;

Footnotes: 
[1]  do a patch -p0 the_patch_file -d /usr/share/loader/


Reply via email to