On Tue, Jan 04, 2000 at 08:53:00PM -0800, phil wilshire wrote:
> Hi,
> This is tricky.
> 
> We need some script hacking to look at uname -a output and do a dynamic
> relink of 
> /boot/System.map.
> This should be done in /etc/rc.d/rc.sysinit.
> There may be some clues in the current /etc/rc.d/rc.sysinit
> Have a go . You can test it outside of a "boot" and post it 
> we'll help you finish it off.


Most distributions have done this for several years.  Unfortuantely, I
just noticed that Red Hat, in its infinite wisdom, decided to use '-'
in a kernel version (uname -r) to mean that it is a special Red Hat kernel.
Seeing as how almost everyone that distributes patches to the kernel puts a
dash in the version name, such as '2.2.14-pre14', '2.3.34-aa1', '2.3.34-ac1',
'2.2.13-RTL', it seems strange to think that Red Hat kernels are entitled
to special treatment.

So, use this patch, and rename your stock Red Hat kernels from 2.2.5-1 to
2.2.5-rh1.  (Also, search for "Red Hat" and "drop the ball" in the RTL
archives to see my previous rants about RH.)



dave...


--- rc.sysinit.old      Tue Jan  4 21:27:56 2000
+++ rc.sysinit  Tue Jan  4 21:28:19 2000
@@ -169,7 +169,7 @@
 rm -f /lib/modules/default
 if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
     # Get ready for kmod if module support in the kernel
-    if [ -z `uname -r | grep "-"` ]; then
+    if [ -z `uname -r | grep "-rh"` ]; then
        # we're using a new kernel, no preferred needed
        mver=`uname -r`
     else
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to