* applying a patch
@ 1999-10-26 14:48 Vanco, Donald
1999-10-26 14:55 ` Dan Frasnelli
1999-10-26 14:56 ` Roger Dooley
0 siblings, 2 replies; 3+ messages in thread
From: Vanco, Donald @ 1999-10-26 14:48 UTC (permalink / raw)
To: 'axp-list@redhat.com'
I will likely get beaten for the simplicity of this - but how do I apply a
kernel patch? Point me to the appropriate how-to (kernel??) & I'm off and
running...
I understand the (likely) syntax as "patch -pnum < 'patchfile'" -
but where & when do I patch from? Do I patch the source & then compile or is
a patch for a compiled kernel?
thanx
Don
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: applying a patch
1999-10-26 14:48 applying a patch Vanco, Donald
@ 1999-10-26 14:55 ` Dan Frasnelli
1999-10-26 14:56 ` Roger Dooley
1 sibling, 0 replies; 3+ messages in thread
From: Dan Frasnelli @ 1999-10-26 14:55 UTC (permalink / raw)
To: 'axp-list@redhat.com'
> I will likely get beaten for the simplicity of this - but how do I apply a
> kernel patch? Point me to the appropriate how-to (kernel??) & I'm off and
> running...
http://metalab.unc.edu/pub/Linux/docs/HOWTO/Kernel-HOWTO
> I understand the (likely) syntax as "patch -pnum < 'patchfile'" -
> but where & when do I patch from? Do I patch the source & then compile or is
> a patch for a compiled kernel?
I'd be very wary of a binary patch for any executable, even moreso the
kerne.
I keep kernel patches in their own directory under /usr/src/, with
/usr/src/linux/ a symbolic link to whichever kernel I'm working on.
The usual sequence of events is:
cd /usr/src/linux/
patch -p1 < ../patches/patch-foo
All of this should be covered in the HOWTO mentioned above.
Let me know if you need help with building a kernel.
--
Dan Frasnelli
Security analyst
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: applying a patch
1999-10-26 14:48 applying a patch Vanco, Donald
1999-10-26 14:55 ` Dan Frasnelli
@ 1999-10-26 14:56 ` Roger Dooley
1 sibling, 0 replies; 3+ messages in thread
From: Roger Dooley @ 1999-10-26 14:56 UTC (permalink / raw)
To: axp-list
See Kernel HOW-TO (section on patching) for details, but if the patch is
gzipped then in /usr/src do zcat patch46.gz | patch -p0.
-RD
"Vanco, Donald" wrote:
>
> I will likely get beaten for the simplicity of this - but how do I apply a
> kernel patch? Point me to the appropriate how-to (kernel??) & I'm off and
> running...
> I understand the (likely) syntax as "patch -pnum < 'patchfile'" -
> but where & when do I patch from? Do I patch the source & then compile or is
> a patch for a compiled kernel?
>
> thanx
> Don
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-10-26 14:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-26 14:48 applying a patch Vanco, Donald
1999-10-26 14:55 ` Dan Frasnelli
1999-10-26 14:56 ` Roger Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox