Sep 012012
 

To create a patch file using diff:

diff -Naur directory-factory/ directory-patched/ > patched.patch

To do a dry-run:

cd directory-patched/
patch --dry-run -p1 < .../patched.patch

To actually apply a patch:

cd directory-patched/
patch -p1 < .../patched.patch

  One Response to “Creating Patch Files Using Diff”

  1. […] unpacking the tar ball, we install several patches, as the software is no longer […]

Leave a Reply