3.4.2. Patches

Patch descriptions are very similar to configuration fragment descriptions, which are described in the previous section. However, instead of a .cfg file, these descriptions work with source patches.

A typical patch includes a description file and the patch itself:

     patches/mypatch.scc:
        patch mypatch.patch

     patches/mypatch.patch:
        typical-patch
            

You can create the typical .patch file using diff -Nurp or git format-patch.

The description file can include multiple patch statements, one per patch.