From: Henning Schild <henning.schild@siemens.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] u-boot-script: Account for deficit in Ubuntu's linux-base
Date: Thu, 2 Sep 2021 13:26:08 +0200 [thread overview]
Message-ID: <20210902132608.2aa5440c@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <5fb6e1a4-5cd5-89bc-5cc5-0164eeecdb9f@siemens.com>
Working on the re-fork of our wic plugins i also stumble over that
vmlinuz vs. vmlinux. It is a mess we are causing ourselves.
I think we should simply stick to vmlinuz for all arches. Now some
bootloaders might need uncompressed versions ... but then these
bootloaders need to extract the kernel instead of the kernel coming in
another variant and way too many ifs and overrides later on.
So i would say let us see if we can switch all arches to vmlinuz and
only extract where we really need to ... will very likely be less
occasions than we have "special case code" right now.
Henning
Am Fri, 27 Aug 2021 13:30:47 +0200
schrieb Jan Kiszka <jan.kiszka@siemens.com>:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Account for
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fubuntu%2F%2Bsource%2Flinux-base%2F%2Bbug%2F1941793&data=04%7C01%7Cde173c00-e982-4fda-8644-47edf4671d63%40ad011.siemens.com%7Cb3b141766fd048e577c708d9694e1f6e%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637656606522333500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Fx4DUIhsUod%2FC2VQI5e5PvxCY3YOBTL3jhWtVPsXKxA%3D&reserved=0
> by open-coding 'linux-version list', only keeping 'linux-version
> sort'. This fixes u-boot-script for arm64 on all recent Ubuntu
> releases. Needed since d6954739fe43.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> meta/recipes-bsp/u-boot-script/files/update-u-boot-script | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git
> a/meta/recipes-bsp/u-boot-script/files/update-u-boot-script
> b/meta/recipes-bsp/u-boot-script/files/update-u-boot-script index
> 40d3108..eb2c295 100755 ---
> a/meta/recipes-bsp/u-boot-script/files/update-u-boot-script +++
> b/meta/recipes-bsp/u-boot-script/files/update-u-boot-script @@ -15,7
> +15,8 @@ fi BOOT_CMD=$(mktemp)
>
> -KERNEL_VERSION=$(linux-version list | linux-version sort --reverse |
> head -1) +KERNEL_VERSION=$(find /boot -name vmlinu[xz]-* | sed
> 's|/boot/vmlinu[xz]-||g' |
> + linux-version sort --reverse | head -1)
>
> case $(uname -m) in
> aarch64|mips|riscv64)
next prev parent reply other threads:[~2021-09-02 11:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-27 11:30 Jan Kiszka
2021-09-02 11:26 ` Henning Schild [this message]
2021-09-02 11:36 ` Jan Kiszka
2021-09-02 14:18 ` Henning Schild
2021-09-13 13:08 ` Anton Mikanovich
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=20210902132608.2aa5440c@md1za8fc.ad001.siemens.net \
--to=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@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