[patch-2.2.18] some trivial patch...

From: Luca Montecchiani (luca.montecchiani@teamfab.it)
Date: Thu Dec 28 2000 - 06:20:25 EST


Hi Alan,

the first patch is a must for kernels that load scsi driver from initrd
;)
the second one allow "make install" to work also if lilo isn't
installed..

main.patch :

diff -ur linux-2.2.18.orig/init/main.c linux-2.2.18.tl/init/main.c
--- linux-2.2.18.orig/init/main.c Mon Dec 11 01:49:44 2000
+++ linux-2.2.18.tl/init/main.c Thu Dec 28 11:37:27 2000
@@ -485,7 +485,7 @@
        { "hdk", 0x3900 },
        { "hdl", 0x3940 },
 #endif
-#ifdef CONFIG_BLK_DEV_SD
+#if defined(CONFIG_BLK_DEV_SD) || defined(CONFIG_BLK_DEV_SD_MODULE)
        { "sda", 0x0800 },
        { "sdb", 0x0810 },
        { "sdc", 0x0820 },

nolilo.patch :

diff -u -r kernel-2.2.18-orig/arch/i386/boot/install.sh
kernel-2.2.18-teamlinux/arch/i386/boot/install.sh
--- kernel-2.2.18-orig/arch/i386/boot/install.sh Tue Jan 3
12:57:26 1995
+++ kernel-2.2.18-teamlinux/arch/i386/boot/install.sh Tue Dec 19
16:21:24 2000
@@ -36,4 +36,10 @@
 cat $2 > $4/vmlinuz
 cp $3 $4/System.map

-if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi
+if [ -x /sbin/lilo ]; then
+ /sbin/lilo
+elif [ -x /etc/lilo/install ]; then
+ /etc/lilo/install
+fi
+
+# Grub rulez ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:10 EST