dev-manual/packages: add information about signing changes

(From yocto-docs rev: 6c1a77e5db7ae9910d24deb023619b9391c8b4ad)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Zoltán Böszörményi 2025-01-30 10:04:03 +01:00 committed by Richard Purdie
parent d554399bf8
commit 21521c6218

View File

@ -819,9 +819,19 @@ to use signed package feeds (repositories) when doing a build.
Signing RPM Packages
--------------------
To enable signing RPM packages, you must set up the following
configurations in either your ``local.config`` or ``distro.config``
file::
To enable signing RPM packages, you must modify the ``rpm``
recipe configuration to include support for OpenPGP signing.
That may be done either in a ``.bbappend`` for the ``rpm`` recipe::
PACKAGECONFIG:append = " sequoia"
or in a :term:`Configuration File`::
PACKAGECONFIG:append:pn-rpm-native = " sequoia"
PACKAGECONFIG:append:pn-rpm = " sequoia"
You must also set up the following settings in a
:term:`Configuration File`::
# Inherit sign_rpm.bbclass to enable signing functionality
INHERIT += " sign_rpm"