For the purpose of this guide, we will use linux-2.2.x for the kernel name. You should replace the x with the version number of the patch you are installing. - Move the downloaded kernel patch to the
/usr/src/linux directory. cd /usr/src/linux - If you downloaded a patch with a
.gz extension, execute the following command:
gunzip patch-2.2.x.gz
If you downloaded a patch with a .bz2 extension, execute the following command:
bunzip2 patch-2.2.x.bz2 - There should now be a file called
patch-2.2.14 in the /usr/src/linux directory. Apply the patch to the kernel source tree with the following command:
patch -p1 <> You should now be ready to set the configuation for the new kernel you wish to build. See the Configuring a New Kernel guide for more information.
用Diff和Patch工具维护源码http://www.ibm.com/developerworks/cn/linux/l-diffp/index.html
|
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home