From: Dan Frasnelli <dfrasnel@alphalinux.org>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: Re: applying a patch
Date: Tue, 26 Oct 1999 07:55:16 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.10.9910260749280.24302-100000@arsenic.theshell.com> (raw)
In-Reply-To: <07E164D341EED111ADCD0000F8662F4A07221C21@pioushqntmail2.pios.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
next prev parent reply other threads:[~1999-10-26 14:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-26 14:48 applying a patch Vanco, Donald
1999-10-26 14:55 ` Dan Frasnelli [this message]
1999-10-26 14:56 ` Roger Dooley
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox