summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-07-20 17:11:12 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-07-20 17:11:12 +0200
commitf9aece94284e0abae85725d3074bb179a7a536e1 (patch)
tree2dd108971d750f98d384a9c8bc7ada7a4139d109
parent876d0ff2cb0f2ef54f812225aa334da4a03d0f55 (diff)
downloadptxdist-f9aece94284e0abae85725d3074bb179a7a536e1.tar.gz
ptxdist-f9aece94284e0abae85725d3074bb179a7a536e1.tar.xz
doc: impove git workflow documentation
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--doc/dev_manual.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/dev_manual.rst b/doc/dev_manual.rst
index 5671e8dae..1c61e3a70 100644
--- a/doc/dev_manual.rst
+++ b/doc/dev_manual.rst
@@ -1314,6 +1314,12 @@ Finally, call ``git ptx-patches`` to regenerate the patch series in the
``patches/foo-1.1.0`` folder.
This way they don't get lost when cleaning the package.
+.. note:: PTXdist will only create a Git repository for packages with
+ patches. To use Git to generate the first patch, create an empty series
+ file ``patches/foobar-1.1.0/series`` before extracting the packages. This
+ will tell PTXdist to use Git anyways and ``git ptx-patches`` will put the
+ patches there.
+
Both approaches (Git and quilt) are not suitable for modifying files
that are autogenerated in autotools-based buildsystems.
Refer to section :ref:`configure_rebuild` on how PTXdist can