public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] linux-custom: Fix KERNEL_NAME passed into build script
@ 2019-06-14 16:16 Jan Kiszka
  2019-06-19 10:47 ` Baurzhan Ismagulov
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2019-06-14 16:16 UTC (permalink / raw)
  To: isar-users; +Cc: Benjamin Schilling

From: Jan Kiszka <jan.kiszka@siemens.com>

We actually have to use the recipe-defined variable KERNEL_NAME_PROVIDED
here, not the globally defined KERNEL_NAME that selects the
to-be-installed kernel on an image.

Reported-by: Benjamin Schilling <schilling.benjamin@siemens.com>
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 ac37412..ee5f20c 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -55,7 +55,7 @@ dpkg_runbuild() {
 	E="${@ bb.utils.export_proxies(d)}"
 
 	export PV=${PV}
-	export KERNEL_NAME=${KERNEL_NAME}
+	export KERNEL_NAME=${KERNEL_NAME_PROVIDED}
 
 	export KBUILD_DEPENDS="${KBUILD_DEPENDS}"
 	export KERNEL_DEBIAN_DEPENDS="${KERNEL_DEBIAN_DEPENDS}"
-- 
2.16.4

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

* Re: [PATCH] linux-custom: Fix KERNEL_NAME passed into build script
  2019-06-14 16:16 [PATCH] linux-custom: Fix KERNEL_NAME passed into build script Jan Kiszka
@ 2019-06-19 10:47 ` Baurzhan Ismagulov
  0 siblings, 0 replies; 2+ messages in thread
From: Baurzhan Ismagulov @ 2019-06-19 10:47 UTC (permalink / raw)
  To: isar-users

On Fri, Jun 14, 2019 at 06:16:00PM +0200, Jan Kiszka wrote:
> We actually have to use the recipe-defined variable KERNEL_NAME_PROVIDED
> here, not the globally defined KERNEL_NAME that selects the
> to-be-installed kernel on an image.

Applied to next, thanks.

With kind regards,
Baurzhan.

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

end of thread, other threads:[~2019-06-19 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 16:16 [PATCH] linux-custom: Fix KERNEL_NAME passed into build script Jan Kiszka
2019-06-19 10:47 ` Baurzhan Ismagulov

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