From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: Ricardo Salveti <ricardo@foundries.io>
Cc: openembedded-core@lists.openembedded.org,
Michelle Lin <michelle.linto91@gmail.com>,
Erik Schilling <erik.schilling@linaro.org>
Subject: Re: [OE-core] [PATCH v6 1/8] uki.bbclass: add class for building Unified Kernel Images (UKI)
Date: Thu, 10 Oct 2024 12:06:57 +0300 [thread overview]
Message-ID: <ZweZMcmlcxBHo5JB@nuoska> (raw)
In-Reply-To: <CAAaKDhFczX1CosfjUj-vBOjcHyBt77XGZks+LAKJSr2SamXHNw@mail.gmail.com>
Hi,
On Wed, Oct 09, 2024 at 04:53:58PM -0300, Ricardo Salveti wrote:
> Wouldn't it be better if this was a kernel class instead, similar to
> how it is done with fitimage (via kernel-fitimage.bbclass)?
>
> I see a lot of similarities here, and it is confusing that one is done
> as a kernel class and the other is added by including in the image
> recipe instead.
Interesting idea. I'll have a look. Maybe this could be an improvement
on top of the uki.bbclass. UKI combines kernel, initramfs image etc
so the implementation can be an image class, kernel class or some
magic post processing (e.g. wic) but needs to be generated using
systemd tooling. Thus I think image class it is for now. I agree
that setting this up is not nice. Need to configure initrd, kernel
command line, kernel, systemd-boot etc and all the config switches
are independent. At least the selftests will contain a fully
working example so users can replicate that in their builds.
Cheers,
-Mikko
next prev parent reply other threads:[~2024-10-10 9:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 11:26 [PATCH v6 0/8] systemd uki support Mikko Rapeli
2024-10-09 11:26 ` [PATCH v6 1/8] uki.bbclass: add class for building Unified Kernel Images (UKI) Mikko Rapeli
2024-10-09 19:53 ` [OE-core] " Ricardo Salveti
2024-10-10 9:06 ` Mikko Rapeli [this message]
2024-10-10 15:21 ` Ricardo Salveti
2024-10-09 11:26 ` [PATCH v6 2/8] wic bootimg-efi.py: keep timestamps and add debug prints Mikko Rapeli
2024-10-09 11:26 ` [PATCH v6 3/8] wic bootimg-efi.py: change UKI support from wic plugin to uki.bbclass Mikko Rapeli
2024-10-09 11:26 ` [PATCH v6 4/8] oeqa selftest uki.py: add tests for uki.bbclass Mikko Rapeli
2024-10-09 11:26 ` [PATCH v6 5/8] oeqa selftest efibootpartition.py: add TEST_RUNQEMUPARAMS to runqemu Mikko Rapeli
2024-10-09 11:26 ` [PATCH v6 6/8] oeqa selftest efibootpartition.py: remove systemd-boot from grub-efi test Mikko Rapeli
2024-10-09 11:26 ` [PATCH v6 7/8] oeqa selftest wic.py: add TEST_RUNQEMUPARAMS to runqemu Mikko Rapeli
2024-10-09 11:26 ` [PATCH v6 8/8] oeqa selftest wic.py: support UKIs via uki.bbclass Mikko Rapeli
2024-10-09 17:53 ` [OE-core] [PATCH v6 0/8] systemd uki support Richard Purdie
[not found] ` <17FCDA527F20D203.22523@lists.openembedded.org>
2024-10-09 22:36 ` Richard Purdie
2024-10-10 7:53 ` Mikko Rapeli
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=ZweZMcmlcxBHo5JB@nuoska \
--to=mikko.rapeli@linaro.org \
--cc=erik.schilling@linaro.org \
--cc=michelle.linto91@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ricardo@foundries.io \
/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