* [PATCH] linux-custom: Add kmod to build dependencies
@ 2018-09-26 16:53 Jan Kiszka
2018-09-26 17:04 ` Jan Kiszka
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2018-09-26 16:53 UTC (permalink / raw)
To: isar-users
Recent kernels check if depmod is available and fail if not.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
meta/recipes-kernel/linux/linux-custom.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index 10a50c3..d7595e4 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -22,7 +22,7 @@ inherit dpkg-base
SRC_URI += "file://build-kernel.sh"
-KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git"
+KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git kmod"
KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool, kmod, linux-base (>= 4.3~)"
KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, libssl1.1"
--
2.16.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] linux-custom: Add kmod to build dependencies
2018-09-26 16:53 [PATCH] linux-custom: Add kmod to build dependencies Jan Kiszka
@ 2018-09-26 17:04 ` Jan Kiszka
2018-09-27 7:36 ` Henning Schild
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2018-09-26 17:04 UTC (permalink / raw)
To: isar-users
On 26.09.18 18:53, [ext] Jan Kiszka wrote:
> Recent kernels check if depmod is available and fail if not.
>
Just found out that it should be just "certain recent kernels": Our current CIP
kernel 4.4.154-cip28 carries the commit that introduced that behavior while a
later commit (part of 4.4.156) changes that into a warning again. We could live
without this patch from that POV, but it should also cause no harm. The for us
relevant depmod run continues to happen during installation of the generated
package.
Jan
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> meta/recipes-kernel/linux/linux-custom.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
> index 10a50c3..d7595e4 100644
> --- a/meta/recipes-kernel/linux/linux-custom.inc
> +++ b/meta/recipes-kernel/linux/linux-custom.inc
> @@ -22,7 +22,7 @@ inherit dpkg-base
>
> SRC_URI += "file://build-kernel.sh"
>
> -KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git"
> +KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git kmod"
> KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool, kmod, linux-base (>= 4.3~)"
> KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, libssl1.1"
>
>
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] linux-custom: Add kmod to build dependencies
2018-09-26 17:04 ` Jan Kiszka
@ 2018-09-27 7:36 ` Henning Schild
2018-09-27 7:39 ` Jan Kiszka
0 siblings, 1 reply; 5+ messages in thread
From: Henning Schild @ 2018-09-27 7:36 UTC (permalink / raw)
To: [ext] Jan Kiszka; +Cc: isar-users
Am Wed, 26 Sep 2018 19:04:03 +0200
schrieb "[ext] Jan Kiszka" <jan.kiszka@siemens.com>:
> On 26.09.18 18:53, [ext] Jan Kiszka wrote:
> > Recent kernels check if depmod is available and fail if not.
> >
>
> Just found out that it should be just "certain recent kernels": Our
> current CIP kernel 4.4.154-cip28 carries the commit that introduced
> that behavior while a later commit (part of 4.4.156) changes that
> into a warning again. We could live without this patch from that POV,
> but it should also cause no harm. The for us relevant depmod run
> continues to happen during installation of the generated package.
I think we should add that, given there are releases that do need it.
It could be added in a separate += line, together with a comment.
And how about bumping the cip kernel in Isar along with this patch?
Henning
> Jan
>
> > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> > ---
> > meta/recipes-kernel/linux/linux-custom.inc | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-kernel/linux/linux-custom.inc
> > b/meta/recipes-kernel/linux/linux-custom.inc index 10a50c3..d7595e4
> > 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc
> > +++ b/meta/recipes-kernel/linux/linux-custom.inc
> > @@ -22,7 +22,7 @@ inherit dpkg-base
> >
> > SRC_URI += "file://build-kernel.sh"
> >
> > -KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git"
> > +KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git kmod"
> > KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool,
> > kmod, linux-base (>= 4.3~)" KERNEL_HEADERS_DEBIAN_DEPENDS ?=
> > "libc6, libssl1.1"
> >
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] linux-custom: Add kmod to build dependencies
2018-09-27 7:36 ` Henning Schild
@ 2018-09-27 7:39 ` Jan Kiszka
2018-09-27 8:13 ` Henning Schild
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2018-09-27 7:39 UTC (permalink / raw)
To: Henning Schild, Maksim Osipov; +Cc: isar-users
On 27.09.18 09:36, Henning Schild wrote:
> Am Wed, 26 Sep 2018 19:04:03 +0200
> schrieb "[ext] Jan Kiszka" <jan.kiszka@siemens.com>:
>
>> On 26.09.18 18:53, [ext] Jan Kiszka wrote:
>>> Recent kernels check if depmod is available and fail if not.
>>>
>>
>> Just found out that it should be just "certain recent kernels": Our
>> current CIP kernel 4.4.154-cip28 carries the commit that introduced
>> that behavior while a later commit (part of 4.4.156) changes that
>> into a warning again. We could live without this patch from that POV,
>> but it should also cause no harm. The for us relevant depmod run
>> continues to happen during installation of the generated package.
>
> I think we should add that, given there are releases that do need it.
> It could be added in a separate += line, together with a comment.
I don't think there is a need for a separate line. I can tune the commit log to
explain that only some kernels are affected.
Maxim, this is a candidate for the upcoming release.
>
> And how about bumping the cip kernel in Isar along with this patch?
That would be a separate patch. Simple to write, give me a minute.
Jan
>
> Henning
>
>> Jan
>>
>>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>>> ---
>>> meta/recipes-kernel/linux/linux-custom.inc | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meta/recipes-kernel/linux/linux-custom.inc
>>> b/meta/recipes-kernel/linux/linux-custom.inc index 10a50c3..d7595e4
>>> 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc
>>> +++ b/meta/recipes-kernel/linux/linux-custom.inc
>>> @@ -22,7 +22,7 @@ inherit dpkg-base
>>>
>>> SRC_URI += "file://build-kernel.sh"
>>>
>>> -KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git"
>>> +KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git kmod"
>>> KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool,
>>> kmod, linux-base (>= 4.3~)" KERNEL_HEADERS_DEBIAN_DEPENDS ?=
>>> "libc6, libssl1.1"
>>>
>>
>
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] linux-custom: Add kmod to build dependencies
2018-09-27 7:39 ` Jan Kiszka
@ 2018-09-27 8:13 ` Henning Schild
0 siblings, 0 replies; 5+ messages in thread
From: Henning Schild @ 2018-09-27 8:13 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Maksim Osipov, isar-users
Am Thu, 27 Sep 2018 09:39:23 +0200
schrieb Jan Kiszka <jan.kiszka@siemens.com>:
> On 27.09.18 09:36, Henning Schild wrote:
> > Am Wed, 26 Sep 2018 19:04:03 +0200
> > schrieb "[ext] Jan Kiszka" <jan.kiszka@siemens.com>:
> >
> >> On 26.09.18 18:53, [ext] Jan Kiszka wrote:
> >>> Recent kernels check if depmod is available and fail if not.
> >>>
> >>
> >> Just found out that it should be just "certain recent kernels": Our
> >> current CIP kernel 4.4.154-cip28 carries the commit that introduced
> >> that behavior while a later commit (part of 4.4.156) changes that
> >> into a warning again. We could live without this patch from that
> >> POV, but it should also cause no harm. The for us relevant depmod
> >> run continues to happen during installation of the generated
> >> package.
> >
> > I think we should add that, given there are releases that do need
> > it. It could be added in a separate += line, together with a
> > comment.
>
> I don't think there is a need for a separate line. I can tune the
> commit log to explain that only some kernels are affected.
>
> Maxim, this is a candidate for the upcoming release.
>
> >
> > And how about bumping the cip kernel in Isar along with this
> > patch?
>
> That would be a separate patch. Simple to write, give me a minute.
I know, just wanted someone to invest that minute. The new recipe
should maybe have the PV in its filename and not contain the SRCREV
anymore (the PV should be a tag/SRCREV in the git we clone ... for
releases). Doing that, the next bump will become a "git mv".
Henning
> Jan
>
> >
> > Henning
> >
> >> Jan
> >>
> >>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> >>> ---
> >>> meta/recipes-kernel/linux/linux-custom.inc | 2 +-
> >>> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>>
> >>> diff --git a/meta/recipes-kernel/linux/linux-custom.inc
> >>> b/meta/recipes-kernel/linux/linux-custom.inc index
> >>> 10a50c3..d7595e4 100644 ---
> >>> a/meta/recipes-kernel/linux/linux-custom.inc +++
> >>> b/meta/recipes-kernel/linux/linux-custom.inc @@ -22,7 +22,7 @@
> >>> inherit dpkg-base
> >>> SRC_URI += "file://build-kernel.sh"
> >>>
> >>> -KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git"
> >>> +KBUILD_DEPENDS ?= "libssl-dev libelf-dev bc git kmod"
> >>> KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools |
> >>> linux-initramfs-tool, kmod, linux-base (>= 4.3~)"
> >>> KERNEL_HEADERS_DEBIAN_DEPENDS ?= "libc6, libssl1.1"
> >>>
> >>
> >
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-09-27 8:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-26 16:53 [PATCH] linux-custom: Add kmod to build dependencies Jan Kiszka
2018-09-26 17:04 ` Jan Kiszka
2018-09-27 7:36 ` Henning Schild
2018-09-27 7:39 ` Jan Kiszka
2018-09-27 8:13 ` Henning Schild
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox