diff mbox series

[v2] rpm-sequoia-crypto-policy: clean up dependencies

Message ID 20250226122033.2547511-1-zboszor@gmail.com
State Accepted, archived
Commit 34fc028a8a3a6628b11c6ee67676532012f55f47
Headers show
Series [v2] rpm-sequoia-crypto-policy: clean up dependencies | expand

Commit Message

Böszörményi Zoltán Feb. 26, 2025, 12:20 p.m. UTC
Rely on host-provided coreutils and make.

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

Python 3.11+ is needed by the python build scripts, which is
ensured by "inherit python3native".

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
---
 .../rpm-sequoia/rpm-sequoia-crypto-policy_git.bb               | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Khem Raj Feb. 26, 2025, 5:41 p.m. UTC | #1
On Wed, Feb 26, 2025 at 4:20 AM Zoltan Boszormenyi via
lists.openembedded.org <zboszor=gmail.com@lists.openembedded.org> wrote:

> Rely on host-provided coreutils and make.
>

What is the reason to do so ?


> openssl-native is not needed either, as the build scripts
> use crypto functionality via python.
>
> Python 3.11+ is needed by the python build scripts, which is
> ensured by "inherit python3native".
>
> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
> ---
>  .../rpm-sequoia/rpm-sequoia-crypto-policy_git.bb               | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/rpm-sequoia/
> rpm-sequoia-crypto-policy_git.bb b/meta/recipes-devtools/rpm-sequoia/
> rpm-sequoia-crypto-policy_git.bb
> index 098881e3da..f66cb56468 100644
> --- a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb
> +++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb
> @@ -5,8 +5,7 @@ LICENSE = "LGPL-2.1-or-later"
>
>  LIC_FILES_CHKSUM =
> "file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343"
>
> -DEPENDS = "coreutils-native openssl-native make-native"
> -
> +# Python 3.11+ is needed to build fedora-crypto-policies
>  inherit allarch python3native
>
>  SRC_URI = "git://
> gitlab.com/redhat-crypto/fedora-crypto-policies.git;protocol=https;branch=master
> "
> --
> 2.48.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#211955):
> https://lists.openembedded.org/g/openembedded-core/message/211955
> Mute This Topic: https://lists.openembedded.org/mt/111394788/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Ross Burton Feb. 26, 2025, 6:09 p.m. UTC | #2
On 26 Feb 2025, at 17:41, Khem Raj <raj.khem@gmail.com> wrote:
> On Wed, Feb 26, 2025 at 4:20 AM Zoltan Boszormenyi via lists.openembedded.org <zboszor=gmail.com@lists.openembedded.org> wrote:
> Rely on host-provided coreutils and make.
> 
> What is the reason to do so ?

I think you misunderstood: this is making the recipe use make and coreutils from hosttools, as almost every other recipe does.

Ross
diff mbox series

Patch

diff --git a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb
index 098881e3da..f66cb56468 100644
--- a/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb
+++ b/meta/recipes-devtools/rpm-sequoia/rpm-sequoia-crypto-policy_git.bb
@@ -5,8 +5,7 @@  LICENSE = "LGPL-2.1-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
-DEPENDS = "coreutils-native openssl-native make-native"
-
+# Python 3.11+ is needed to build fedora-crypto-policies
 inherit allarch python3native
 
 SRC_URI = "git://gitlab.com/redhat-crypto/fedora-crypto-policies.git;protocol=https;branch=master"