Skip to contentSkip to conversation

applying a .diff.bz2 patch

uml-devel ashwin tanugula 2 participants 2 messages May 19, 2005 – May 20, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi
How do i apply a .diff.bz2 patch to a linux kernel?

Thanks,
Ashwin.

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&opÌk
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 2 lines · ashwin tanugula

Hi
How do i apply a .diff.bz2 patch to a linux kernel?

Usually by

cd linux-x.y.z
bzcat /path/to/patchfile.diff.bz2 | patch -p1 -s

then rebuild the kernel.

Sometimes -p0 is required instead of -p1, but very rarely (depends on who made the patch and how, see "man patch" for details)

Regards
Henrik

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel