Skip to contentSkip to conversation

rpm-sequoia-crypto-policy: clean up dependencies

PATCH Superseded Zoltán Böszörményi 2 participants 2 messages Feb 24, 2025 – Feb 25, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpm-sequoia-crypto-policy: clean up dependencies

Rely on host-provided python3, coreutils and make.

openssl-native is not needed either, as the build scripts use crypto functionality via python.

---
 .../rpm-sequoia/rpm-sequoia-crypto-policy_git.bb              | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb +1 -3
index 098881e3da..dcc0c7264c 100644
@@ -5,9 +5,7 @@ LICENSE = "LGPL-2.1-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
-DEPENDS = "coreutils-native openssl-native make-native"
-
-inherit allarch python3native
+inherit allarch
 
 SRC_URI = "git://gitlab.com/redhat-crypto/fedora-crypto-policies.git;protocol=https;branch=master"
 
Signature · 1 line
2.48.1
#1 lore raw
Quoted 22 lines · Zoltan Boszormenyi via lists.openembedded.org

Rely on host-provided python3, coreutils and make.

openssl-native is not needed either, as the build scripts use crypto functionality via python.

---
 .../rpm-sequoia/rpm-sequoia-crypto-policy_git.bb              | 4 +---

 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb +0 -0
index 098881e3da..dcc0c7264c 100644
@@ -5,9 +5,7 @@ LICENSE = "LGPL-2.1-or-later"


 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343"

meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb +1 -3
-DEPENDS = "coreutils-native openssl-native make-native"
-
-inherit allarch python3native
+inherit allarch
Quoted 3 lines


 SRC_URI = "git://gitlab.com/redhat-crypto/fedora-crypto-policies.git;protocol=https;branch=master"

It looks like the python script in there needs python 3.11 for tomllib;

https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/1100

so the other pieces are good but we probably need the python dependency unfortunately. Could you tweak the patch please?

It may be worth leaving a comment that we can use python from the host system when we have 3.11 as the min version.

Cheers,

Richard