From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: openembedded-core@lists.openembedded.org
Cc: Mikko Rapeli <mikko.rapeli@linaro.org>
Subject: [PATCH 0/3] systemd uki support
Date: Mon, 2 Sep 2024 12:41:14 +0300 [thread overview]
Message-ID: <20240902094117.31156-1-mikko.rapeli@linaro.org> (raw)
These changes enable building systemd uki images which combine
kernel, kernel command line, initrd and possibly signatures to
a single UEFI binary. This binary can be booted with UEFI firmware
and systemd-boot. No grub is needed and UEFI firmware and/or
systemd-boot provide possibilities for boot menus.
The uki binary can also be signed for UEFI secure boot
so the secure boot extends from firmware to kernel and initrd.
Binding secure boot to full userspace is then easier since for example
kernel command line and initrd contain the support needed to mount
encrypted dm-verity etc partitions, and/or create partitions on demand
with systemd-repart using device specific TPM devices for encryption.
Tested on qemuarm64-secureboot machine from meta-arm with changes to
support secure boot. Slightly different configuration tested on
multiple arm64 System Ready boards with UEFI firmware, real and firmware
based TPM devices.
Erik Schilling (1):
systemd-tools: add recipe
Michelle Lin (1):
uki.bbclass: add class for building Unified Kernel Images (UKI)
Mikko Rapeli (1):
bitbake.conf: add getopt to HOSTTOOLS
meta/classes-recipe/uki.bbclass | 158 ++++++++++++++++++
meta/conf/bitbake.conf | 2 +-
.../systemd/systemd-tools_256.5.bb | 41 +++++
3 files changed, 200 insertions(+), 1 deletion(-)
create mode 100644 meta/classes-recipe/uki.bbclass
create mode 100644 meta/recipes-core/systemd/systemd-tools_256.5.bb
--
2.34.1
next reply other threads:[~2024-09-02 9:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-02 9:41 Mikko Rapeli [this message]
2024-09-02 9:41 ` [PATCH 1/3] systemd-tools: add recipe Mikko Rapeli
2024-09-02 9:59 ` [OE-core] " Richard Purdie
2024-09-02 10:05 ` Mikko Rapeli
2024-09-02 10:17 ` Alexander Kanavin
2024-09-02 10:29 ` Mikko Rapeli
2024-09-02 10:36 ` Erik Schilling
2024-09-02 9:41 ` [PATCH 2/3] bitbake.conf: add getopt to HOSTTOOLS Mikko Rapeli
2024-09-02 10:09 ` [OE-core] " Peter Kjellerstedt
2024-09-02 10:15 ` Alexander Kanavin
2024-09-02 10:27 ` Mikko Rapeli
2024-09-02 10:34 ` Alexander Kanavin
[not found] ` <17F1667FB4E21297.30681@lists.openembedded.org>
2024-09-02 10:35 ` Mikko Rapeli
2024-09-02 10:15 ` Mikko Rapeli
2024-09-02 9:41 ` [PATCH 3/3] uki.bbclass: add class for building Unified Kernel Images (UKI) Mikko Rapeli
2024-09-02 10:36 ` Erik Schilling
-- strict thread matches above, loose matches on Subject: below --
2024-09-02 10:58 [PATCH 0/3] systemd uki support 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=20240902094117.31156-1-mikko.rapeli@linaro.org \
--to=mikko.rapeli@linaro.org \
--cc=openembedded-core@lists.openembedded.org \
/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