[ILUG] Patching a kernel- 2.4.14 Compiling as I type

Richard Eibrand richard.eibrand at dit.ie
Tue Nov 13 13:12:32 GMT 2001


Thank you all for your help,

twas the -p1 option that was throwing me off.
All patches have been successfully applied, and kernel 2.4.14
is now doing the compiles thing.

Ta very much for your help.


R

p.s. Can any one recommend a mail client that is similar to Mozilla 
mail, but does not chug and take as much time as it does?

Dave Airlie wrote:

> apart from the dontuser issue the best way to patch up a kernel is to use
> 
> linux/scripts/patch-kernel
> 
> the latest version support ac kernels..  and I hear a newer one will do
> -dontuse also..
> 
> if you have 2.4.0 and all patches in one dir, just untar 2.4.0 and run the
> script it will pick up all the patches and apply them..
> 
> Dave.
> 
> 
> On Tue, 13 Nov 2001, Liam Bedford wrote:
> 
> 
>>At 12:41 +0000 13/11/01, Stephane Dudzinski wrote:
>>
>>>Hi,
>>>
>>>I'm not sure i understood properly the second part of the email but all
>>>you need is to symlink 2.4.13 with you linux dir freshly unpacked. then
>>>delete the symlink and patch to 2.4.12
>>>
>>The easiest way to use the patches is to do:
>>
>>cd /usr/src
>>tar jxvf <original_linux_dist>.tar.bz2
>>cd linux
>>bzcat <patch1>.bz2 | patch -p1
>>
>>and repeat the last step until you're at the version you want.
>>
>>-p tells it to ignore a part of the filename. The patch has descriptions
>>telling it which file to patch, but they tend to be something like
>>linux-2.4.14-clean/whatever
>>
>>which you don't have (you just have linux). So go into the directory, and
>>use -p1 to tell it to skip the first part of the filename.
>>
>>L.
>>
>>
> 







More information about the ILUG mailing list