Message ID | 20250130090403.2471098-1-zboszor@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [v2] dev-manual/packages: add information about signing changes | expand |
Hi Zoltán, On Thu Jan 30, 2025 at 10:04 AM CET, Zoltán Böszörményi wrote: > Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> > --- > 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 4ba2dcae3..8845bf2fa 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" Looking good, thanks! Reviewed-by: Antonin Godard <antonin.godard@bootlin.com> Antonin
diff --git a/documentation/dev-manual/packages.rst b/documentation/dev-manual/packages.rst index 4ba2dcae3..8845bf2fa 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"
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --- documentation/dev-manual/packages.rst | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-)