public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/3] systemd uki support
@ 2024-09-02  9:41 Mikko Rapeli
  2024-09-02  9:41 ` [PATCH 1/3] systemd-tools: add recipe Mikko Rapeli
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Mikko Rapeli @ 2024-09-02  9:41 UTC (permalink / raw)
  To: openembedded-core; +Cc: Mikko Rapeli

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



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-09-02 10:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02  9:41 [PATCH 0/3] systemd uki support Mikko Rapeli
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox