: Applying patches ontop of patches (2.4.1pre7 to 2.4.1pre8)
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Shawn Starr
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
Signature · 7 lines
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 [email protected] Please read the FAQ at http://www.tux.org/lkml/
Quoted 6 lines · Shawn Starr
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Sven Koch
reverse the patch for 2.4.1pre7
for example: cd
/usr/src/linux; zcat 2.4.1pre7.gz | patch -p1 -Rafter that apply pre8
You can also use interdiff:
$ interdiff 2.4.1pre7 2.4.1pre8 | patch -p1
It's mostly reliable.
Tim.
*/
Re: [QUESTION]: Applying patches ontop of patches (2.4.1pre7 to2.4.1pre8)
In reply to Sven KochThanks to everyone who replied :)
Quoted 19 lines · Sven Koch
Quoted 5 lines · Shawn Starr
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 -Rafter that apply pre8
c'ya
sven--
Quoted 7 lines
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 [email protected]
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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/