Fred K Ollinger on Fri, 5 Jul 2002 12:40:36 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] patching the kernel (again)


> Yes you can.  There are several possible gotcha's but go into your
> likely to be /usr/src/linux directory and first backup your dot config

I never change /usr/src/linux. This is a bad idea and Linus himself urges
against it:

http://www.kernelnewbies.org/faq/index.php3#headers

> (.config to be exact) to something like .config.bak.  Then do a make
> clean;make mrproper (I'm paranoid).  Then cp or mv your
> patch-2.4.19-4c1.gz file to /usr/src.  Then cd /usr/src/ and enter
>
> zcat patch-2.4.19.rc1.gz |patch -p0 <Enter>

Right. I did this. A lot. I got loads of troubles w/ HUNKS failing, and
patch assuming that the patches were made reversed (new/old), as well as
not being able to find the file necessary to patch (many of these were
made by people using crazy junk like Linux and Linux-2.4 in their
patch-files. Ug).

I may just wait till 2.4.19 before I do anything, or if I'm allowed to
upgrade to rh7.3, I could just install the kernel bin rpm.

Fred


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug