* [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8)
@ 2001-01-17 19:34 Shawn Starr
2001-01-17 20:32 ` Sven Koch
2001-01-17 20:34 ` [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8) Brian Gerst
0 siblings, 2 replies; 5+ messages in thread
From: Shawn Starr @ 2001-01-17 19:34 UTC (permalink / raw)
To: linux-kernel
What is the best way to apply a patch on top of a patch already applied?
For example, with original sources 2.4.0 i applied 2.4.1pre7 but now
that pre8 is out, how do i apply those new patches without having to
delete the whole linux dir and untar 2.4.0 again just to apply pre8?
thanks,
Shawn S.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8)
2001-01-17 19:34 [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8) Shawn Starr
@ 2001-01-17 20:32 ` Sven Koch
2001-01-17 20:46 ` Tim Waugh
2001-01-17 21:16 ` [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to2.4.1pre8) Shawn Starr
2001-01-17 20:34 ` [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8) Brian Gerst
1 sibling, 2 replies; 5+ messages in thread
From: Sven Koch @ 2001-01-17 20:32 UTC (permalink / raw)
To: Shawn Starr; +Cc: linux-kernel
On Wed, 17 Jan 2001, Shawn Starr wrote:
> What is the best way to apply a patch on top of a patch already applied?
>
> For example, with original sources 2.4.0 i applied 2.4.1pre7 but now
> that pre8 is out, how do i apply those new patches without having to
> delete the whole linux dir and untar 2.4.0 again just to apply pre8?
reverse the patch for 2.4.1pre7
for example: cd /usr/src/linux ; zcat 2.4.1pre7.gz | patch -p1 -R
after that apply pre8
c'ya
sven
--
The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8)
2001-01-17 19:34 [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8) Shawn Starr
2001-01-17 20:32 ` Sven Koch
@ 2001-01-17 20:34 ` Brian Gerst
1 sibling, 0 replies; 5+ messages in thread
From: Brian Gerst @ 2001-01-17 20:34 UTC (permalink / raw)
To: Shawn Starr; +Cc: linux-kernel
Shawn Starr wrote:
>
> What is the best way to apply a patch on top of a patch already applied?
>
> For example, with original sources 2.4.0 i applied 2.4.1pre7 but now
> that pre8 is out, how do i apply those new patches without having to
> delete the whole linux dir and untar 2.4.0 again just to apply pre8?
You can unapply -pre7 (patch -R) or make a hard-linked tree to apply the
pre patches to. Patch will break the hard links on the files it
modifies, so the second tree hardly takes up any disk space. To make
the second tree do:
cp -al linux-2.4.0 linux-2.4.1-pre8
--
Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8)
2001-01-17 20:32 ` Sven Koch
@ 2001-01-17 20:46 ` Tim Waugh
2001-01-17 21:16 ` [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to2.4.1pre8) Shawn Starr
1 sibling, 0 replies; 5+ messages in thread
From: Tim Waugh @ 2001-01-17 20:46 UTC (permalink / raw)
To: Sven Koch; +Cc: Shawn Starr, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
On Wed, Jan 17, 2001 at 09:32:30PM +0100, Sven Koch wrote:
> reverse the patch for 2.4.1pre7
>
> for example: cd /usr/src/linux ; zcat 2.4.1pre7.gz | patch -p1 -R
>
> after that apply pre8
You can also use interdiff:
$ interdiff 2.4.1pre7 2.4.1pre8 | patch -p1
It's mostly reliable.
Tim.
*/
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to2.4.1pre8)
2001-01-17 20:32 ` Sven Koch
2001-01-17 20:46 ` Tim Waugh
@ 2001-01-17 21:16 ` Shawn Starr
1 sibling, 0 replies; 5+ messages in thread
From: Shawn Starr @ 2001-01-17 21:16 UTC (permalink / raw)
Cc: linux-kernel
Thanks to everyone who replied :)
Sven Koch wrote:
> On Wed, 17 Jan 2001, Shawn Starr wrote:
>
> > What is the best way to apply a patch on top of a patch already applied?
> >
> > For example, with original sources 2.4.0 i applied 2.4.1pre7 but now
> > that pre8 is out, how do i apply those new patches without having to
> > delete the whole linux dir and untar 2.4.0 again just to apply pre8?
>
> reverse the patch for 2.4.1pre7
>
> for example: cd /usr/src/linux ; zcat 2.4.1pre7.gz | patch -p1 -R
>
> after that apply pre8
>
> c'ya
> sven
>
> --
>
> The Internet treats censorship as a routing problem, and routes around it.
> (John Gilmore on http://www.cygnus.com/~gnu/)
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-01-17 21:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-17 19:34 [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8) Shawn Starr
2001-01-17 20:32 ` Sven Koch
2001-01-17 20:46 ` Tim Waugh
2001-01-17 21:16 ` [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to2.4.1pre8) Shawn Starr
2001-01-17 20:34 ` [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8) Brian Gerst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox