Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Zoltán Böszörményi" <zboszor@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: "Alexander Kanavin" <alex.kanavin@gmail.com>,
	"Randy MacLeod" <randy.macleod@windriver.com>,
	"Khem Raj" <raj.khem@gmail.com>,
	"Zoltán Böszörményi" <zboszor@gmail.com>
Subject: [OE-core][PATCH 3/3] rpm: Automatically enable using rpm-sequoia for signed packages
Date: Wed, 29 Jan 2025 09:09:02 +0100	[thread overview]
Message-ID: <20250129080902.1863054-3-zboszor@gmail.com> (raw)
In-Reply-To: <20250129080902.1863054-1-zboszor@gmail.com>

When PACKAGE_CLASSES includes sign_rpm, add sequoia to
PACKAGECONFIG.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
---
 meta/recipes-devtools/rpm/rpm_4.20.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/rpm/rpm_4.20.0.bb b/meta/recipes-devtools/rpm/rpm_4.20.0.bb
index 6c995ff50c..bf71d0d08a 100644
--- a/meta/recipes-devtools/rpm/rpm_4.20.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.20.0.bb
@@ -62,7 +62,7 @@ OECMAKE_GENERATOR = "Unix Makefiles"
 
 BBCLASSEXTEND = "native nativesdk"
 
-PACKAGECONFIG ??= "archive"
+PACKAGECONFIG ??= "archive ${@bb.utils.contains('PACKAGE_CLASSES', 'sign_rpm', 'sequoia', '', d)}"
 
 PACKAGECONFIG[plugins] = "-DENABLE_PLUGINS=ON,-DENABLE_PLUGINS=OFF"
 PACKAGECONFIG[testsuite] = "-DENABLE_TESTSUITE=ON,-DENABLE_TESTSUITE=OFF"
-- 
2.48.1



  parent reply	other threads:[~2025-01-29  8:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-29  8:09 [OE-core][PATCH 1/3] cargo.bbclass: Allow using --offline instead of --frozen Zoltán Böszörményi
2025-01-29  8:09 ` [OE-core][PATCH 2/3] rpm-sequoia: New recipe for version 1.6.0 Zoltán Böszörményi
2025-01-29  9:05   ` Alexander Kanavin
2025-01-29  9:14     ` Böszörményi Zoltán
2025-01-29  9:20     ` Böszörményi Zoltán
2025-01-29  9:29       ` Alexander Kanavin
2025-01-29 10:09         ` Böszörményi Zoltán
     [not found]       ` <181F1FDA3B65007A.31881@lists.openembedded.org>
2025-01-29  9:41         ` Alexander Kanavin
2025-01-29  8:09 ` Zoltán Böszörményi [this message]
2025-01-29  8:56   ` [OE-core][PATCH 3/3] rpm: Automatically enable using rpm-sequoia for signed packages Alexander Kanavin
2025-01-29 10:34     ` Böszörményi Zoltán
2025-01-29 10:54       ` Alexander Kanavin
2025-01-29  8:49 ` [OE-core][PATCH 1/3] cargo.bbclass: Allow using --offline instead of --frozen Alexander Kanavin
2025-01-29  9:00   ` Böszörményi Zoltán
2025-01-29  9:08     ` Alexander Kanavin
2025-01-29  9:36 ` Yoann Congal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250129080902.1863054-3-zboszor@gmail.com \
    --to=zboszor@gmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=randy.macleod@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox