For your information - I picked this nice one from a Redhat list a couple of days ago and tried it out on RH 7.1 with a pristine 2.4.18 kernel source. After changing a Makefile line to read EXTRAVERSION = -1 #to conform to RH nomenclature, thanks for the hint, Mike# and #make mrproper #make xconfig rpm and about 30 minutes of waiting I really had my kernel-2.4.181-1.i386.rpm, on which I did rpm -ivh ...for real (not --justdb), et voil�, I had vmlinuz-2.4.18-1 (and the corresponding System.map) in my boot directory. Wonder if this works on Caldera distros too. Klaus
---------- Forwarded Message ---------- Subject: updating the rpm database Date: Sat, 9 Mar 2002 06:31:08 -0500 (EST) From: Ian Firla <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] I hope this is of help to others. I've been building and running custom kernels on my Redhat systems. Until the recent updates to XFree that up2date (and Ximian's Redcarpet) were offering demanded the latest Redhat kernel, I'd never run into problems. Even though I was running 2.4.16 (and now 2.4.18), I was unable to run the updates to my systems. Alan Cox has recently added a 'make xconfig rpm' option to the kernel packages. if you run that, you'll end up with your new kernel in /usr/src/redhat/RPMS/<your architecture>/ directory Then a simple "rpm -ivh --justdb" issued on that kernel rpm, updates your db to the current Kernel you're running. Issuing an rpm -e --justdb <old kernel #> will also clean out old kernel info in that DB for you if things are getting out of control! The once thing I remain unclear on though is how to update the antiquated headers and other info returned by rpm -qa | grep kernel kernel-pcmcia-cs-3.1.24-2 kernel-drm-stub-4.1.0-0.ximian.1 kernel-BOOT-2.4.2-2 kernel-2.4.18-12 kernel-headers-2.4.9-12 Best wishes, Ian ------------ Dr Ian Firla Robert Graves Trust St John's College, Oxford OX1 3JP - +44-(0)7855-310565 http://www.robertgraves.org _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list ------------------------------------------------------- _______________________________________________ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
