aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Arnout Vandecappelle <arnout@mind.be>2015-12-02 23:13:26 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-16 23:44:03 +0100
commitaafff45965b44344eb1207847bc40ca60c27083d (patch)
tree2b80b75574ee3140bcfa299a19523a39b1cda938 /docs
parent80677e0208c0ab1e2d0ee9846a4b95939cc7b353 (diff)
downloadbuildroot-aafff45965b44344eb1207847bc40ca60c27083d.tar.gz
buildroot-aafff45965b44344eb1207847bc40ca60c27083d.tar.bz2
manual: clarify policy when updating a package patch
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Renaud AUBIN <root@renaud.io> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/patch-policy.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/manual/patch-policy.txt b/docs/manual/patch-policy.txt
index 6e27e717ab..0b4604e5c3 100644
--- a/docs/manual/patch-policy.txt
+++ b/docs/manual/patch-policy.txt
@@ -106,6 +106,10 @@ upstream SCM software to generate the patch set.
Otherwise, concatenate the header with the output of the
+diff -purN package-version.orig/ package-version/+ command.
+If you update an existing patch (e.g. when bumping the package version),
+make sure the existing From header and Signed-off-by tags are not
+removed, but do update the rest of the patch comment when appropriate.
+
At the end, the patch should look like:
---------------