RE: [expert] patching kernel 2.4.18

2002-11-20 Thread Franki
read this... its from a kernel hacker...

its how I learned, though i have only used it once or twice..
http://www.linuxgazette.com/issue32/ayers1.html

install the source, put the patch in there, and run it with;
patch -pl wireless-extensionsv15.patch

a proper patch file contains the src file name as well as the changes... as
long as it can find the file, you should be fine... so if you want to know
whats gonna get patched, read the patch code.

there is also a patch-kernel script included in the kernel src.. but i have
not used it,, see the url above for details..


rgds

Frank




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Praedor Tempus
Sent: Thursday, 21 November 2002 12:33 AM
To: Mandrake Expert
Subject: [expert] patching kernel 2.4.18


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have never quite gotten how to patch kernels.  I have a patch for
upgrading
wireless extensions to version 15 that I would like to apply to kernel
2.4.18
(unless someone knows of a 2.4.18 kernel that already contains this patch as
well as supermount).

I have the file I have named "wireless-extensionsv15.patch".  Where do I
place
this file and to which file(s) in the kernel source directory do I direct
it?
What patch command?

praedor
- --
Conservatives of all times are adventitious liars.
- - Friedrich Nietzsche.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE927lX1i/6R1B/Yh0RAt3+AJ9h30EaP40svQA6NiFqyQrHgTX7rACgl5+T
kY2DD955gE4hAw+i0VuY4Aw=
=vk4C
-END PGP SIGNATURE-




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] patching kernel 2.4.18

2002-11-20 Thread kwan
On Wed, 20 Nov 2002, Praedor Tempus wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I have never quite gotten how to patch kernels.  I have a patch for upgrading 
> wireless extensions to version 15 that I would like to apply to kernel 2.4.18 
> (unless someone knows of a 2.4.18 kernel that already contains this patch as 
> well as supermount). 
> 
> I have the file I have named "wireless-extensionsv15.patch".  Where do I place 
> this file and to which file(s) in the kernel source directory do I direct it?  
> What patch command?
> 
> 
cd to your source directory, then:
  patch -p1 < /path/to/patchfile

The patch contains information about the file it's patching.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com