recipe style guide: add recommendation for patches without signature

>From discussion [0], the presence of git version signature at the end of
patches has been questionned. To avoid a bit more noise, the setting git
format.signature is added to the documentation and its use is
recommended.

[0]: https://lists.openembedded.org/g/openembedded-core/topic/106323318#msg199967

(From yocto-docs rev: 7da39b91a0f20cb7215d51e00c098f3dc13180fd)

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexandre Truong 2024-06-06 09:54:15 +02:00 committed by Richard Purdie
parent 838ca52a74
commit 0df9d22928

View File

@ -409,3 +409,15 @@ This should be the header of patch that fixes :cve:`2015-8370` in GRUB2::
Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/grub.git/commit/?id=451d80e52d851432e109771bb8febafca7a5f1f2]
CVE: CVE-2015-8370
Signed-off-by: Joe Developer <joe.developer@example.com>
Patch format
============
By default, patches created with ``git format-patch`` have a `Git` version signature at the end.
To avoid having a `Git` signature at the end of generated or updated patches,
you can use `Git` configuration settings::
git config --global format.signature ""
.. note::
Patches generated or updated by ``devtool`` are created with no signature.