public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH] linux-custom: depend on correct libssl version
Date: Tue, 24 May 2022 14:35:34 +0300	[thread overview]
Message-ID: <20220524113534.19508-1-amikan@ilbers.de> (raw)

The package linux-headers on Debian Sid no more depend on libssl1.1
like previous distro versions. Moreover Sid-Ports don't even contains
libssl1.1 package, but use libssl3 instead.

This results on example-module-mainline builddeps install failure on
sifive-fu540 target.

Fix choosing correct libssl version based on distro.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/recipes-kernel/linux/linux-custom.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index b09ec5c9..a6b1cdab 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -29,8 +29,12 @@ KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool, \
                           kmod, \
                           linux-base (>= 4.3~),"
 
+LIBSSL_DEP = "libssl1.1"
+LIBSSL_DEP_debian-sid = "libssl3"
+LIBSSL_DEP_debian-sid-ports = "libssl3"
+
 KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, \
-                                  libssl1.1,"
+                                  ${LIBSSL_DEP},"
 
 KERNEL_LIBC_DEV_DEPLOY ?= "0"
 
-- 
2.20.1


             reply	other threads:[~2022-05-24 11:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-24 11:35 Anton Mikanovich [this message]
2022-05-31 11:12 ` Anton Mikanovich

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=20220524113534.19508-1-amikan@ilbers.de \
    --to=amikan@ilbers.de \
    --cc=isar-users@googlegroups.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