From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Cc: Benjamin Schilling <schilling.benjamin@siemens.com>
Subject: [PATCH] linux-custom: Fix KERNEL_NAME passed into build script
Date: Fri, 14 Jun 2019 18:16:00 +0200 [thread overview]
Message-ID: <cbb17ff2-b907-7d94-e008-e3bf5ab85dce@siemens.com> (raw)
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
next reply other threads:[~2019-06-14 16:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-14 16:16 Jan Kiszka [this message]
2019-06-19 10:47 ` Baurzhan Ismagulov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cbb17ff2-b907-7d94-e008-e3bf5ab85dce@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=schilling.benjamin@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox