From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anton Mikanovich <amikan@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH] linux-custom: Fix decompressed kernel name for arm64
Date: Mon, 25 Jan 2021 13:32:19 +0100 [thread overview]
Message-ID: <ddddc1c2-abb6-2fb3-7ba0-ce2ec4c62108@siemens.com> (raw)
In-Reply-To: <20210122171354.28330-1-amikan@ilbers.de>
On 22.01.21 18:13, Anton Mikanovich wrote:
> We are performing gunzip from vmlinuz on arm64, so output should have
> correct naming.
>
What's the practical impact of this change? How did you notice it? Can
anything break that expected the old incorrect name?
Jan
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
> ---
> meta/conf/bitbake.conf | 1 +
> meta/recipes-kernel/linux/files/debian/isar/install.tmpl | 6 +++---
> 2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index acce55d..9859456 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -61,6 +61,7 @@ CACHE = "${TMPDIR}/cache"
> KERNEL_FILE ?= "vmlinuz"
> KERNEL_FILE_mipsel ?= "vmlinux"
> KERNEL_FILE_riscv64 ?= "vmlinux"
> +KERNEL_FILE_arm64 ?= "vmlinux"
>
> OVERRIDES = "${DISTRO_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:forcevariable"
> FILESOVERRIDES = "${DISTRO_ARCH}:${MACHINE}"
> diff --git a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
> index 8eca4c7..69fb88d 100644
> --- a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
> +++ b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
> @@ -26,9 +26,9 @@ do_install() {
> fi
> krel="$(${MAKE} O=${O} -s --no-print-directory kernelrelease)"
> case "${ARCH}" in
> - mips|powerpc|riscv) kimage_path="boot/vmlinux-${krel}" ;;
> - um) kimage_path="usr/bin/vmlinux-${krel}" ;;
> - *) kimage_path="boot/vmlinuz-${krel}" ;;
> + mips|powerpc|riscv|arm64) kimage_path="boot/vmlinux-${krel}" ;;
> + um) kimage_path="usr/bin/vmlinux-${krel}" ;;
> + *) kimage_path="boot/vmlinuz-${krel}" ;;
> esac
>
> print_settings
>
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2021-01-25 12:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 17:13 Anton Mikanovich
2021-01-25 12:32 ` Jan Kiszka [this message]
2021-01-25 12:51 ` Anton Mikanovich
2021-01-25 13:11 ` Jan Kiszka
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=ddddc1c2-abb6-2fb3-7ba0-ce2ec4c62108@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=amikan@ilbers.de \
--cc=isar-users@googlegroups.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