[Buildroot] [git commit] manual: clarify policy when updating a package patch
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Dec 16 22:44:03 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=aafff45965b44344eb1207847bc40ca60c27083d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Cc: Renaud AUBIN <root at renaud.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
docs/manual/patch-policy.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/manual/patch-policy.txt b/docs/manual/patch-policy.txt
index 6e27e71..0b4604e 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:
---------------
More information about the buildroot
mailing list