* [PATCH] linux-custom: Update to BASE_DISTRO_CODENAME instead of DISTRO
@ 2022-09-22 6:19 ` Srinuvasan A
2022-09-23 9:33 ` Anton Mikanovich
2022-09-23 10:28 ` [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable Srinuvasan A
0 siblings, 2 replies; 7+ messages in thread
From: Srinuvasan A @ 2022-09-22 6:19 UTC (permalink / raw)
To: isar-users, amikan; +Cc: jan.kiszka, Srinuvasan A
From: Srinuvasan A <srinuvasan_a@mentor.com>
Commit 4ffdf792 says, Switch custom kernel modules to use libssl3 by
default and left libssl1.1 dependency only for distros not yet
migrated, here they used overrides based on "DISTRO".
Here DISTRO is debian-bullseye or debian-buster and so on, downstream layers might define
their own DISTRO name.
Use the overrides based on "BASE_DISTRO_CODENAME" to pick up the exact version of libssl
for the corresponding DISTRO to better support downstream layers with custom DISTRO names.
Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
---
meta/recipes-kernel/linux/linux-custom.inc | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index 8581dc8..31840f1 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -1,8 +1,8 @@
# Custom kernel build
#
# This software is a part of ISAR.
-# Copyright (c) Siemens AG, 2018
-# Copyright (c) Mentor Graphics, a Siemens business, 2019
+# Copyright (c) Siemens AG, 2022
+# Copyright (c) Mentor Graphics, a Siemens business, 2022
#
# SPDX-License-Identifier: MIT
@@ -13,6 +13,8 @@ CHANGELOG_V = "${PV}+${PR}"
DESCRIPTION ?= "Custom kernel"
MAINTAINER ?= "isar-users <isar-users@googlegroups.com>"
+OVERRIDES_append = ":${BASE_DISTRO_CODENAME}"
+
KBUILD_DEPENDS ?= "build-essential:native, \
libelf-dev:native, \
libncurses-dev:native, \
@@ -30,9 +32,9 @@ KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool, \
linux-base (>= 4.3~),"
LIBSSL_DEP = "libssl3"
-LIBSSL_DEP_debian-stretch = "libssl1.1"
-LIBSSL_DEP_debian-buster = "libssl1.1"
-LIBSSL_DEP_debian-bullseye = "libssl1.1"
+LIBSSL_DEP_stretch = "libssl1.1"
+LIBSSL_DEP_buster = "libssl1.1"
+LIBSSL_DEP_bullseye = "libssl1.1"
KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, \
${LIBSSL_DEP},"
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] linux-custom: Update to BASE_DISTRO_CODENAME instead of DISTRO
2022-09-22 6:19 ` [PATCH] linux-custom: Update to BASE_DISTRO_CODENAME instead of DISTRO Srinuvasan A
@ 2022-09-23 9:33 ` Anton Mikanovich
2022-09-23 10:28 ` [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable Srinuvasan A
1 sibling, 0 replies; 7+ messages in thread
From: Anton Mikanovich @ 2022-09-23 9:33 UTC (permalink / raw)
To: Srinuvasan A, isar-users; +Cc: jan.kiszka
22.09.2022 09:19, Srinuvasan A wrote:
> From: Srinuvasan A <srinuvasan_a@mentor.com>
>
> Commit 4ffdf792 says, Switch custom kernel modules to use libssl3 by
> default and left libssl1.1 dependency only for distros not yet
> migrated, here they used overrides based on "DISTRO".
>
> Here DISTRO is debian-bullseye or debian-buster and so on, downstream layers might define
> their own DISTRO name.
>
> Use the overrides based on "BASE_DISTRO_CODENAME" to pick up the exact version of libssl
> for the corresponding DISTRO to better support downstream layers with custom DISTRO names.
>
> Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
> ---
> meta/recipes-kernel/linux/linux-custom.inc | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
> index 8581dc8..31840f1 100644
> --- a/meta/recipes-kernel/linux/linux-custom.inc
> +++ b/meta/recipes-kernel/linux/linux-custom.inc
> @@ -1,8 +1,8 @@
> # Custom kernel build
> #
> # This software is a part of ISAR.
> -# Copyright (c) Siemens AG, 2018
> -# Copyright (c) Mentor Graphics, a Siemens business, 2019
> +# Copyright (c) Siemens AG, 2022
> +# Copyright (c) Mentor Graphics, a Siemens business, 2022
> #
> # SPDX-License-Identifier: MIT
>
> @@ -13,6 +13,8 @@ CHANGELOG_V = "${PV}+${PR}"
> DESCRIPTION ?= "Custom kernel"
> MAINTAINER ?= "isar-users <isar-users@googlegroups.com>"
>
> +OVERRIDES_append = ":${BASE_DISTRO_CODENAME}"
> +
Changing OVERRIDES might be done globally to keep used prefixes equal
for all
the recipes. For example meta/conf/bitbake.conf looks quite ok for that.
> KBUILD_DEPENDS ?= "build-essential:native, \
> libelf-dev:native, \
> libncurses-dev:native, \
> @@ -30,9 +32,9 @@ KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool, \
> linux-base (>= 4.3~),"
>
> LIBSSL_DEP = "libssl3"
> -LIBSSL_DEP_debian-stretch = "libssl1.1"
> -LIBSSL_DEP_debian-buster = "libssl1.1"
> -LIBSSL_DEP_debian-bullseye = "libssl1.1"
> +LIBSSL_DEP_stretch = "libssl1.1"
> +LIBSSL_DEP_buster = "libssl1.1"
> +LIBSSL_DEP_bullseye = "libssl1.1"
>
> KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, \
> ${LIBSSL_DEP},"
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable
2022-09-22 6:19 ` [PATCH] linux-custom: Update to BASE_DISTRO_CODENAME instead of DISTRO Srinuvasan A
2022-09-23 9:33 ` Anton Mikanovich
@ 2022-09-23 10:28 ` Srinuvasan A
2022-09-25 8:27 ` Moessbauer, Felix
2022-09-28 9:22 ` Anton Mikanovich
1 sibling, 2 replies; 7+ messages in thread
From: Srinuvasan A @ 2022-09-23 10:28 UTC (permalink / raw)
To: isar-users, amikan; +Cc: jan.kiszka, Srinuvasan A
From: Srinuvasan A <srinuvasan_a@mentor.com>
Commit 4ffdf792 says, Switch custom kernel modules to use libssl3 by
default and left libssl1.1 dependency only for distros not yet
migrated, here they used overrides based on "DISTRO".
Here DISTRO is debian-bullseye or debian-buster and so on, downstream layers might define
their own DISTRO name.
Use the overrides based on "BASE_DISTRO_CODENAME" to pick up the exact version of libssl
for the corresponding DISTRO to better support downstream layers with custom DISTRO names.
Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
---
meta/conf/bitbake.conf | 2 +-
meta/recipes-kernel/linux/linux-custom.inc | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 19798b7..98412e0 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -67,7 +67,7 @@ KERNEL_FILE_mipsel ?= "vmlinux"
KERNEL_FILE_riscv64 ?= "vmlinux"
KERNEL_FILE_arm64 ?= "vmlinux"
-OVERRIDES = "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:forcevariable"
+OVERRIDES = "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:${BASE_DISTRO_CODENAME}:forcevariable"
FILESOVERRIDES = "${DISTRO_ARCH}:${MACHINE}"
COMPAT_OVERRIDE = "${@'compat-arch' if d.getVar('ISAR_ENABLE_COMPAT_ARCH') == '1' else ''}"
diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index 8581dc8..96f0afc 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -1,8 +1,8 @@
# Custom kernel build
#
# This software is a part of ISAR.
-# Copyright (c) Siemens AG, 2018
-# Copyright (c) Mentor Graphics, a Siemens business, 2019
+# Copyright (c) Siemens AG, 2022
+# Copyright (c) Mentor Graphics, a Siemens business, 2022
#
# SPDX-License-Identifier: MIT
@@ -30,9 +30,9 @@ KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool, \
linux-base (>= 4.3~),"
LIBSSL_DEP = "libssl3"
-LIBSSL_DEP_debian-stretch = "libssl1.1"
-LIBSSL_DEP_debian-buster = "libssl1.1"
-LIBSSL_DEP_debian-bullseye = "libssl1.1"
+LIBSSL_DEP_stretch = "libssl1.1"
+LIBSSL_DEP_buster = "libssl1.1"
+LIBSSL_DEP_bullseye = "libssl1.1"
KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, \
${LIBSSL_DEP},"
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable
2022-09-23 10:28 ` [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable Srinuvasan A
@ 2022-09-25 8:27 ` Moessbauer, Felix
2022-09-26 9:55 ` Srinuvasan Arjunan
2022-09-28 9:22 ` Anton Mikanovich
1 sibling, 1 reply; 7+ messages in thread
From: Moessbauer, Felix @ 2022-09-25 8:27 UTC (permalink / raw)
To: Srinuvasan A; +Cc: jan.kiszka, isar-users, amikan
> -----Original Message-----
> From: isar-users@googlegroups.com <isar-users@googlegroups.com> On
> Behalf Of Srinuvasan A
> Sent: Friday, September 23, 2022 6:29 PM
> To: isar-users@googlegroups.com; amikan@ilbers.de
> Cc: Kiszka, Jan (T CED) <jan.kiszka@siemens.com>; Srinuvasan A
> <srinuvasan_a@mentor.com>
> Subject: [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES
> variable
>
> From: Srinuvasan A <srinuvasan_a@mentor.com>
>
> Commit 4ffdf792 says, Switch custom kernel modules to use libssl3 by default
> and left libssl1.1 dependency only for distros not yet migrated, here they used
> overrides based on "DISTRO".
>
> Here DISTRO is debian-bullseye or debian-buster and so on, downstream layers
> might define their own DISTRO name.
>
> Use the overrides based on "BASE_DISTRO_CODENAME" to pick up the exact
> version of libssl for the corresponding DISTRO to better support downstream
> layers with custom DISTRO names.
>
> Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
> ---
> meta/conf/bitbake.conf | 2 +-
> meta/recipes-kernel/linux/linux-custom.inc | 10 +++++-----
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index
> 19798b7..98412e0 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -67,7 +67,7 @@ KERNEL_FILE_mipsel ?= "vmlinux"
> KERNEL_FILE_riscv64 ?= "vmlinux"
> KERNEL_FILE_arm64 ?= "vmlinux"
>
> -OVERRIDES =
> "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:forcevariabl
> e"
> +OVERRIDES =
> "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:${BASE_DIST
> RO_CODENAME}:forcevariable"
> FILESOVERRIDES = "${DISTRO_ARCH}:${MACHINE}"
> COMPAT_OVERRIDE = "${@'compat-arch' if
> d.getVar('ISAR_ENABLE_COMPAT_ARCH') == '1' else ''}"
>
> diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-
> kernel/linux/linux-custom.inc
> index 8581dc8..96f0afc 100644
> --- a/meta/recipes-kernel/linux/linux-custom.inc
> +++ b/meta/recipes-kernel/linux/linux-custom.inc
> @@ -1,8 +1,8 @@
> # Custom kernel build
> #
> # This software is a part of ISAR.
> -# Copyright (c) Siemens AG, 2018
> -# Copyright (c) Mentor Graphics, a Siemens business, 2019
> +# Copyright (c) Siemens AG, 2022
> +# Copyright (c) Mentor Graphics, a Siemens business, 2022
> #
> # SPDX-License-Identifier: MIT
>
> @@ -30,9 +30,9 @@ KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-
> initramfs-tool, \
> linux-base (>= 4.3~),"
>
> LIBSSL_DEP = "libssl3"
> -LIBSSL_DEP_debian-stretch = "libssl1.1"
> -LIBSSL_DEP_debian-buster = "libssl1.1"
> -LIBSSL_DEP_debian-bullseye = "libssl1.1"
> +LIBSSL_DEP_stretch = "libssl1.1"
> +LIBSSL_DEP_buster = "libssl1.1"
> +LIBSSL_DEP_bullseye = "libssl1.1"
>
> KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, \
> ${LIBSSL_DEP},"
> --
> 2.25.1
>
ACK - tested on the Siemens internal ipc520a layer.
This fixes the broken kernel-headers package.
Felix
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable
2022-09-25 8:27 ` Moessbauer, Felix
@ 2022-09-26 9:55 ` Srinuvasan Arjunan
2022-09-26 10:03 ` Anton Mikanovich
0 siblings, 1 reply; 7+ messages in thread
From: Srinuvasan Arjunan @ 2022-09-26 9:55 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 3313 bytes --]
On Sunday, September 25, 2022 at 1:57:30 PM UTC+5:30 Moessbauer, Felix
wrote:
> > -----Original Message-----
> > From: isar-...@googlegroups.com <isar-...@googlegroups.com> On
> > Behalf Of Srinuvasan A
> > Sent: Friday, September 23, 2022 6:29 PM
> > To: isar-...@googlegroups.com; ami...@ilbers.de
> > Cc: Kiszka, Jan (T CED) <jan.k...@siemens.com>; Srinuvasan A
> > <srinuv...@mentor.com>
> > Subject: [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES
> > variable
> >
> > From: Srinuvasan A <srinuv...@mentor.com>
> >
> > Commit 4ffdf792 says, Switch custom kernel modules to use libssl3 by
> default
> > and left libssl1.1 dependency only for distros not yet migrated, here
> they used
> > overrides based on "DISTRO".
> >
> > Here DISTRO is debian-bullseye or debian-buster and so on, downstream
> layers
> > might define their own DISTRO name.
> >
> > Use the overrides based on "BASE_DISTRO_CODENAME" to pick up the exact
> > version of libssl for the corresponding DISTRO to better support
> downstream
> > layers with custom DISTRO names.
> >
> > Signed-off-by: Srinuvasan A <srinuv...@mentor.com>
> > ---
> > meta/conf/bitbake.conf | 2 +-
> > meta/recipes-kernel/linux/linux-custom.inc | 10 +++++-----
> > 2 files changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index
> > 19798b7..98412e0 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -67,7 +67,7 @@ KERNEL_FILE_mipsel ?= "vmlinux"
> > KERNEL_FILE_riscv64 ?= "vmlinux"
> > KERNEL_FILE_arm64 ?= "vmlinux"
> >
> > -OVERRIDES =
> > "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:forcevariabl
> > e"
> > +OVERRIDES =
> > "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:${BASE_DIST
> > RO_CODENAME}:forcevariable"
> > FILESOVERRIDES = "${DISTRO_ARCH}:${MACHINE}"
> > COMPAT_OVERRIDE = "${@'compat-arch' if
> > d.getVar('ISAR_ENABLE_COMPAT_ARCH') == '1' else ''}"
> >
> > diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-
> > kernel/linux/linux-custom.inc
> > index 8581dc8..96f0afc 100644
> > --- a/meta/recipes-kernel/linux/linux-custom.inc
> > +++ b/meta/recipes-kernel/linux/linux-custom.inc
> > @@ -1,8 +1,8 @@
> > # Custom kernel build
> > #
> > # This software is a part of ISAR.
> > -# Copyright (c) Siemens AG, 2018
> > -# Copyright (c) Mentor Graphics, a Siemens business, 2019
> > +# Copyright (c) Siemens AG, 2022
> > +# Copyright (c) Mentor Graphics, a Siemens business, 2022
> > #
> > # SPDX-License-Identifier: MIT
> >
> > @@ -30,9 +30,9 @@ KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-
> > initramfs-tool, \
> > linux-base (>= 4.3~),"
> >
> > LIBSSL_DEP = "libssl3"
> > -LIBSSL_DEP_debian-stretch = "libssl1.1"
> > -LIBSSL_DEP_debian-buster = "libssl1.1"
> > -LIBSSL_DEP_debian-bullseye = "libssl1.1"
> > +LIBSSL_DEP_stretch = "libssl1.1"
> > +LIBSSL_DEP_buster = "libssl1.1"
> > +LIBSSL_DEP_bullseye = "libssl1.1"
> >
> > KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, \
> > ${LIBSSL_DEP},"
> > --
> > 2.25.1
> >
>
> ACK - tested on the Siemens internal ipc520a layer.
> This fixes the broken kernel-headers package.
Thanks felix for your feedback.
>
>
> Felix
Amikan , Please have a look, thanks.
[-- Attachment #1.2: Type: text/html, Size: 4586 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable
2022-09-26 9:55 ` Srinuvasan Arjunan
@ 2022-09-26 10:03 ` Anton Mikanovich
0 siblings, 0 replies; 7+ messages in thread
From: Anton Mikanovich @ 2022-09-26 10:03 UTC (permalink / raw)
To: Srinuvasan Arjunan, isar-users
[-- Attachment #1: Type: text/plain, Size: 3846 bytes --]
26.09.2022 12:55, Srinuvasan Arjunan wrote
>
>
> On Sunday, September 25, 2022 at 1:57:30 PM UTC+5:30 Moessbauer, Felix
> wrote:
>
> > -----Original Message-----
> > From: isar-...@googlegroups.com <isar-...@googlegroups.com> On
> > Behalf Of Srinuvasan A
> > Sent: Friday, September 23, 2022 6:29 PM
> > To: isar-...@googlegroups.com; ami...@ilbers.de
> > Cc: Kiszka, Jan (T CED) <jan.k...@siemens.com>; Srinuvasan A
> > <srinuv...@mentor.com>
> > Subject: [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in
> OVERRIDES
> > variable
> >
> > From: Srinuvasan A <srinuv...@mentor.com>
> >
> > Commit 4ffdf792 says, Switch custom kernel modules to use
> libssl3 by default
> > and left libssl1.1 dependency only for distros not yet migrated,
> here they used
> > overrides based on "DISTRO".
> >
> > Here DISTRO is debian-bullseye or debian-buster and so on,
> downstream layers
> > might define their own DISTRO name.
> >
> > Use the overrides based on "BASE_DISTRO_CODENAME" to pick up the
> exact
> > version of libssl for the corresponding DISTRO to better support
> downstream
> > layers with custom DISTRO names.
> >
> > Signed-off-by: Srinuvasan A <srinuv...@mentor.com>
> > ---
> > meta/conf/bitbake.conf | 2 +-
> > meta/recipes-kernel/linux/linux-custom.inc | 10 +++++-----
> > 2 files changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index
> > 19798b7..98412e0 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -67,7 +67,7 @@ KERNEL_FILE_mipsel ?= "vmlinux"
> > KERNEL_FILE_riscv64 ?= "vmlinux"
> > KERNEL_FILE_arm64 ?= "vmlinux"
> >
> > -OVERRIDES =
> >
> "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:forcevariabl
> > e"
> > +OVERRIDES =
> > "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:${BASE_DIST
> > RO_CODENAME}:forcevariable"
> > FILESOVERRIDES = "${DISTRO_ARCH}:${MACHINE}"
> > COMPAT_OVERRIDE = "${@'compat-arch' if
> > d.getVar('ISAR_ENABLE_COMPAT_ARCH') == '1' else ''}"
> >
> > diff --git a/meta/recipes-kernel/linux/linux-custom.inc
> b/meta/recipes-
> > kernel/linux/linux-custom.inc
> > index 8581dc8..96f0afc 100644
> > --- a/meta/recipes-kernel/linux/linux-custom.inc
> > +++ b/meta/recipes-kernel/linux/linux-custom.inc
> > @@ -1,8 +1,8 @@
> > # Custom kernel build
> > #
> > # This software is a part of ISAR.
> > -# Copyright (c) Siemens AG, 2018
> > -# Copyright (c) Mentor Graphics, a Siemens business, 2019
> > +# Copyright (c) Siemens AG, 2022
> > +# Copyright (c) Mentor Graphics, a Siemens business, 2022
> > #
> > # SPDX-License-Identifier: MIT
> >
> > @@ -30,9 +30,9 @@ KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools |
> linux-
> > initramfs-tool, \
> > linux-base (>= 4.3~),"
> >
> > LIBSSL_DEP = "libssl3"
> > -LIBSSL_DEP_debian-stretch = "libssl1.1"
> > -LIBSSL_DEP_debian-buster = "libssl1.1"
> > -LIBSSL_DEP_debian-bullseye = "libssl1.1"
> > +LIBSSL_DEP_stretch = "libssl1.1"
> > +LIBSSL_DEP_buster = "libssl1.1"
> > +LIBSSL_DEP_bullseye = "libssl1.1"
> >
> > KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, \
> > ${LIBSSL_DEP},"
> > --
> > 2.25.1
> >
>
> ACK - tested on the Siemens internal ipc520a layer.
> This fixes the broken kernel-headers package.
>
>
> Thanks felix for your feedback.
>
>
>
> Felix
>
>
> Amikan , Please have a look, thanks.
Hello Srinuvasan,
v2 looks ok (BTW please mark resend patch as v2 next time), and it is
already
in testing with our CI. Will be merged after passing all the tests
(fast+full).
[-- Attachment #2: Type: text/html, Size: 7366 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable
2022-09-23 10:28 ` [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable Srinuvasan A
2022-09-25 8:27 ` Moessbauer, Felix
@ 2022-09-28 9:22 ` Anton Mikanovich
1 sibling, 0 replies; 7+ messages in thread
From: Anton Mikanovich @ 2022-09-28 9:22 UTC (permalink / raw)
To: Srinuvasan A, isar-users; +Cc: jan.kiszka
23.09.2022 13:28, Srinuvasan A wrote:
> From: Srinuvasan A <srinuvasan_a@mentor.com>
>
> Commit 4ffdf792 says, Switch custom kernel modules to use libssl3 by
> default and left libssl1.1 dependency only for distros not yet
> migrated, here they used overrides based on "DISTRO".
>
> Here DISTRO is debian-bullseye or debian-buster and so on, downstream layers might define
> their own DISTRO name.
>
> Use the overrides based on "BASE_DISTRO_CODENAME" to pick up the exact version of libssl
> for the corresponding DISTRO to better support downstream layers with custom DISTRO names.
>
> Signed-off-by: Srinuvasan A <srinuvasan_a@mentor.com>
Applied to next, thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-09-28 9:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <AQHYzzdafU+zAaufNESZAMqViN9X/63vz2pQ>
2022-09-22 6:19 ` [PATCH] linux-custom: Update to BASE_DISTRO_CODENAME instead of DISTRO Srinuvasan A
2022-09-23 9:33 ` Anton Mikanovich
2022-09-23 10:28 ` [PATCH] bitbake.conf: Add BASE_DISTRO_CODENAME in OVERRIDES variable Srinuvasan A
2022-09-25 8:27 ` Moessbauer, Felix
2022-09-26 9:55 ` Srinuvasan Arjunan
2022-09-26 10:03 ` Anton Mikanovich
2022-09-28 9:22 ` Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox