* [PATCH v2] linux-custom: Add kmod to build dependencies
@ 2018-09-27 7:42 Jan Kiszka
2018-09-27 10:28 ` Maxim Yu. Osipov
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2018-09-27 7:42 UTC (permalink / raw)
To: isar-users
Some recent kernels check if depmod is available and fail if not, namely
4.4.154-cip28. There is a commit in more recent releases that turn this
into a warning, but we should handle both. Running depmod is not needed
in our case, but being able to will also cause no harm.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
Changes in v2:
- improved commit message
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] 2+ messages in thread
* Re: [PATCH v2] linux-custom: Add kmod to build dependencies
2018-09-27 7:42 [PATCH v2] linux-custom: Add kmod to build dependencies Jan Kiszka
@ 2018-09-27 10:28 ` Maxim Yu. Osipov
0 siblings, 0 replies; 2+ messages in thread
From: Maxim Yu. Osipov @ 2018-09-27 10:28 UTC (permalink / raw)
To: Jan Kiszka, isar-users
On 9/27/18 10:42 AM, Jan Kiszka wrote:
> Some recent kernels check if depmod is available and fail if not, namely
> 4.4.154-cip28. There is a commit in more recent releases that turn this
> into a warning, but we should handle both. Running depmod is not needed
> in our case, but being able to will also cause no harm.
Applied to the 'next',
Thanks,
Maxim.
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>
> Changes in v2:
> - improved commit message
>
> 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"
>
>
--
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-27 10:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-27 7:42 [PATCH v2] linux-custom: Add kmod to build dependencies Jan Kiszka
2018-09-27 10:28 ` Maxim Yu. Osipov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox