[Ilugc] HOw to add patch to linux kernel

  • From: l.mohanphy@xxxxxxxxx (mohan L)
  • Date: Tue Jan 26 12:33:57 2010

On Tue, Jan 26, 2010 at 11:16 AM, rajkumar vbalakrishnasamy <
rajkumar.lynx@xxxxxxxxx> wrote:

HOw to add patch to linux kernel

Hi ,

I assume that you have your source tree in  /usr/src/linux-x.y.z/ (Or use
your path ).

$ cd /usr/src/linux-x.y.z/

$ bzip2 -dc ../x.y.z-mm2.bz2 | patch -p1

The -dc option asks bzip2 to uncompress the specified files to standard
output. This is piped to the patch utility, which applies changes to each
modified file in the code tree.


Thanks & Rg
Mohan L

Other related posts: