Quote:
Originally Posted by anjana
what are linux kernel patches
|
They are like ordinary patches for any body of software. Basically, patches are files describing differences (possibly improvements, bugfixes, or additional functionality) from a base version of a software tree to a newer version. The “
patch” utility will read and understand these files, and is able to change a base version to match the newer version with just the patch. As such, patching is a way to incrementally distribute changes in the source of a body of software (rather than redistribute the
entire new sourcetree, only distribute the changes you’ve made to a base version).
Quote:
Originally Posted by anjana
how to create a linux patch
|
You make some changes to the source, then you compare your files to the original files with the “
diff” utility. Usually, you must tell
diff to output its comparison in the “unified diff” format (the most common format for distributing patches). The output of this utility is your patch.
Alternatively, you could use
git make the process easier.