public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: "cedric.hombourger@siemens.com" <cedric.hombourger@siemens.com>,
	"Bezdeka, Florian" <florian.bezdeka@siemens.com>,
	"Larson, Chris" <chris.larson@siemens.com>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Re: [PATCH 0/2] Add support for per-kernel recipe variants
Date: Tue, 8 Apr 2025 12:05:58 +0200	[thread overview]
Message-ID: <0fe2440d-190b-4388-b6f6-55b834d5ba09@siemens.com> (raw)
In-Reply-To: <9d9b56bd32d249bb97e50a1447870a1a6438facf.camel@siemens.com>

On 08.04.25 10:18, 'cedric.hombourger@siemens.com' via isar-users wrote:
> On Tue, 2025-04-08 at 10:09 +0200, Florian Bezdeka wrote:
>> On Mon, 2025-04-07 at 09:01 -0700, chris.larson via isar-users wrote:
>>> From: Christopher Larson <chris.larson@siemens.com>
>>>
>>> Add support for per-kernel recipe variants. This aids in the
>>> ability for a
>>> MACHINE to support multiple kernels, by allowing us to generate
>>> per-kernel
>>> variants in recipes like external kernel modules.
>>>
>>> A new variable KERNEL_NAMES will list the kernels for which
>>> variants will be
>>> generated. It defaults to KERNEL_NAME. While this variable lists
>>> all supported
>>> kernels for the current machine, a variant will not be generated
>>> for
>>> KERNEL_NAME, assuming that's the recipe's baseline. Each variant
>>> listed in
>>> KERNEL_NAMES will add kernel-<kernel_name> to the OVERRIDES
>>> variable, and
>>> per-kernel:<kernel_name> to the BBCLASSEXTEND variable. In
>>> addition,
>>> KERNEL_NAME will be set to the kernel name for the current variant.
>>
>> I'm missing the documentation for the new `KERNEL_NAMES` variable.
>>
>> In addition you explained how this works, but what is the use case
>> behind? I can build multiple kernels per machine now, but when is
>> this
>> needed?
> 
> If you are wanting a concrete use-case noted in the documentation, it
> can certainly be added: no harm.
> 
> Concretely there are machine-supporting layers offering multiple
> kernels. Examples: "normal" kernel, PREEMPT_RT kernel. Another use-case
> until we get a .deb for each .ko (like in Yocto you can get an ipk for
> each ko), you may need a footprint-optimized kernel for e.g. a recovery
> image.
> 
> I hope that explains. Do let us know if the use-cases should be listed
> in the documentation. It would not be an issue to add them
> 

It's more than that: New features need demos and test cases.

Isar is not just place to dump some bits from downstream use cases. It
is the place to develop and use them. There can be exceptions, but the
rule is different.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/0fe2440d-190b-4388-b6f6-55b834d5ba09%40siemens.com.

  parent reply	other threads:[~2025-04-08 10:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 16:01 chris.larson via isar-users
2025-04-07 16:01 ` [PATCH 1/2] per-kernel.bbclass: add class chris.larson via isar-users
2025-04-07 16:01 ` [PATCH 2/2] linux-module: inherit per-kernel chris.larson via isar-users
2025-04-07 19:25   ` 'cedric.hombourger@siemens.com' via isar-users
2025-04-08  8:07   ` 'Florian Bezdeka' via isar-users
2025-04-08  8:13     ` 'cedric.hombourger@siemens.com' via isar-users
2025-04-08 17:12       ` 'Larson, Chris' via isar-users
2025-04-08  8:09 ` [PATCH 0/2] Add support for per-kernel recipe variants 'Florian Bezdeka' via isar-users
2025-04-08  8:18   ` 'cedric.hombourger@siemens.com' via isar-users
2025-04-08  8:29     ` 'Florian Bezdeka' via isar-users
2025-04-08  8:34       ` 'cedric.hombourger@siemens.com' via isar-users
2025-04-08 10:05     ` 'Jan Kiszka' via isar-users [this message]
2025-04-08 10:29       ` 'cedric.hombourger@siemens.com' via isar-users

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=0fe2440d-190b-4388-b6f6-55b834d5ba09@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=cedric.hombourger@siemens.com \
    --cc=chris.larson@siemens.com \
    --cc=florian.bezdeka@siemens.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