public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] linux-custom: depend on correct libssl version
@ 2022-05-24 11:35 Anton Mikanovich
  2022-05-31 11:12 ` Anton Mikanovich
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Mikanovich @ 2022-05-24 11:35 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] linux-custom: depend on correct libssl version
  2022-05-24 11:35 [PATCH] linux-custom: depend on correct libssl version Anton Mikanovich
@ 2022-05-31 11:12 ` Anton Mikanovich
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2022-05-31 11:12 UTC (permalink / raw)
  To: isar-users

24.05.2022 14:35, Anton Mikanovich wrote:
> 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>

Applied to next.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-31 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 11:35 [PATCH] linux-custom: depend on correct libssl version Anton Mikanovich
2022-05-31 11:12 ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox