From: scott thomason <scott-kernel@thomasons.org>
To: joe briggs <jbriggs@briggsmedia.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: patching the kernel
Date: Sun, 9 Mar 2003 22:41:03 -0600 [thread overview]
Message-ID: <200303092241.03335.scott-kernel@thomasons.org> (raw)
In-Reply-To: <200303091711.21652.jbriggs@briggsmedia.com>
On Sunday 09 March 2003 04:11 pm, joe briggs wrote:
> My apologies for this question that is so basic to all of you,
> but can any of you please point me toward a howto or
> instructions for exactly how to 'patch a kernel'? For
> example, at kernel.org, the latest stable kernel is 2.4.20,
> and is actually a patch. I currently use 2.4.19 under Debian
> and routinely rebuild & install it no problem. If I download
> a kernel 'patch', do I apply it to the entire directory, or
> the compiled kernel, etc.? Thanks so much.
I usually use these patch commands, as they make finding any
errors so much easier:
bunzip patchfile.bz2 ## or...
gunzip patchfile.gz
cd linux-2.4.x
## To see if the patch is actually going to work
patch -p1 --batch --quiet --dry-run < ../patchfile
## To actually apply the patch
patch -p1 --batch --quiet < ../patchfile
---scott
prev parent reply other threads:[~2003-03-10 4:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-09 22:11 patching the kernel joe briggs
2003-03-09 21:19 ` Sam Ravnborg
2003-03-09 21:25 ` Jan-Benedict Glaw
2003-03-10 4:41 ` scott thomason [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200303092241.03335.scott-kernel@thomasons.org \
--to=scott-kernel@thomasons.org \
--cc=jbriggs@briggsmedia.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.