From: Wilbert Knol (omj@willab.fi)
Date: Thu May 23 2002 - 14:33:32 EEST
On Wed, 22 May 2002, Wilson G. Hein wrote:
> Hi,
>
> Trying to patch kerbel 2.4.18 with patch 2.4.19-pre2. Can someone tell me in
> what RedHat package the patch command is in. Apparently I don't have it
On a related note...I am not sure if this applies to the kernel sources
Red Hat distibutes...but I haven't had much luck applying official kernel
patches against 'distributed' kernel source trees.
The patch program generated *lots* of complaints. My impression was, that
most (if not all) of those errors related to architectures such as SUN,
PPC, Alpha etc etc, not supported by my particular distro.
I ended up downloading the 'official' kernel sources from kernel.org..the
patches worked fine against them.
Also, I found I had to rename the to-be-patched source tree to 'linux/'
for the patches to work.
On the subject of rolling your own kernel...I find it handy to edit the
top-level Makefile immediately after the 'make menuconfig' step. At the
top, you can set a variable. The line looks like this:
EXTRAVERSION = pre99
...which appends pre99 (just an example) to your kernel version, and also
to the modules directory
After the 'make modules-install' you can then do a 'make install' which
copies the new stuff to /boot...this saves you having to copy bzImage and
setting symlinks, etc, etc.
I haven't seen the 'EXTRAVERSION' and 'make install' things documented
anywhere (perhaps they are, in RH?), and have found them very handy. As a
linux-ham, I am always home-brewing kernels.
Wilbert, ZL2BSJ
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to terhi.victor@logonet.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Thu May 23 2002 - 14:38:42 EEST