From 21521c621895019e8fc46b4118f9cbb6abf8b5bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= Date: Thu, 30 Jan 2025 10:04:03 +0100 Subject: [PATCH] dev-manual/packages: add information about signing changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (From yocto-docs rev: 6c1a77e5db7ae9910d24deb023619b9391c8b4ad) Signed-off-by: Zoltán Böszörményi Reviewed-by: Antonin Godard Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/dev-manual/packages.rst | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/documentation/dev-manual/packages.rst b/documentation/dev-manual/packages.rst index 4ba2dcae3a..8845bf2fab 100644 --- a/documentation/dev-manual/packages.rst +++ b/documentation/dev-manual/packages.rst @@ -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"