2025. 02. 06. 5:42 keltezéssel, Zoltán Böszörményi írta:
Signed-off-by: Zoltán Böszörményi <[email protected]>
---
  meta/recipes-devtools/rpm/rpm_4.20.0.bb | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/rpm/rpm_4.20.0.bb 
b/meta/recipes-devtools/rpm/rpm_4.20.0.bb
index 6c995ff50c..d296c20d78 100644
--- a/meta/recipes-devtools/rpm/rpm_4.20.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.20.0.bb
@@ -100,6 +100,7 @@ WRAPPER_TOOLS = " \
  do_install:append:class-native() {
          for tool in ${WRAPPER_TOOLS}; do
                  test -x ${D}$tool && create_wrapper ${D}$tool \
+                        
SEQUOIA_CRYPTO_POLICY=${STAGING_DATADIR_NATIVE}/crypto-policies/back-ends/rpm-sequoia.config
 \

Self review / explanation:

This envvar is set unconditionally, regardless of
PACKAGECONFIG="sequoia" being present or not for rpm.

Reasoning:
* it's needed when it's set
* it's ignored when it's not set (rpm is not linked with librpm_sequoia.so)
* the next patch for dnf also needs it, and AFAIK one recipe
  can't detect PACKAGECONFIG of a different recipe

So setting it conditionally would have been pointless in the rpm recipe
when it has to be set in the dnf recipe unconditionally.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210894): 
https://lists.openembedded.org/g/openembedded-core/message/210894
Mute This Topic: https://lists.openembedded.org/mt/111027163/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to