Re: [OE-core] [PATCH 3/3] uki.bbclass: add class for building Unified Kernel Images (UKI)

2024-09-02 Thread Erik Schilling
oject.org/g/meta-arm/topic/patch_v3_02_13/108031399 > and a few more changes needed, will be posted separately. > > Signed-off-by: Michelle Lin > Cc: Erik Schilling > Signed-off-by: Mikko Rapeli > --- > meta/classes-recipe/uki.bbclass | 158 ++++ &g

Re: [OE-core] [PATCH 1/3] systemd-tools: add recipe

2024-09-02 Thread Erik Schilling
On Mon Sep 2, 2024 at 12:17 PM CEST, Alexander Kanavin wrote: > Wait. Isn't this ukify.py thingy already provided from > systemd-boot-native recipe? Yes. It was added while I did this change as part of a PoC ~a year ago. I am not a huge fan of it having landed in systemd-boot-native. I think ther

[OE-core] [PATCH RFC] systemd-repart.bbclass: provide build-time partitioning helper

2024-04-26 Thread Erik Schilling
=hash VerityMatchKey=usr Minimize=guess 04-usr-verity-sig.conf: [Partition] Type=usr-verity-sig Verity=signature VerityMatchKey=usr [1] https://uapi-group.org/specifications/specs/discoverable_partitions_specification/ Cc: Mikko Rapeli Signed-off-by: Erik Schilling ---

Re: [OE-core] [RFC PATCH] qemurunner.py: ensure we drain stdout after boot prompt

2023-11-29 Thread Erik Schilling
stdio even if the test itself is using a TCP > console or SSH to run things. > > This doesn't address a potential overflow of stderr although generally > stderr from QEMU will be a lot less likely to block due to the volume > of data. > > Suggested-by: Erik Schilling >

Re: [OE-core] [PATCH] uki: Add support for building Unified Kernel Images

2023-11-21 Thread Erik Schilling
> > +BBCLASSEXTEND += "native" > > We've long avoided a systemd-native recipe as the meaning can be easily > confused and I'm not thrilled to be adding one now. > > Perhaps this should be as a separate systemd-tools-native recipe to > make it clear this isn't full systemd? There is another catch:

Re: [OE-core] [PATCH] uki: Add support for building Unified Kernel Images

2023-11-16 Thread Erik Schilling
On Sat Sep 2, 2023 at 1:32 AM CEST, Michelle Lin wrote: > Currently, there is not a class to support the building of unified kernel > images. Adding a uki.bbclass to support the creation of UKIs. This class calls > the systemd Ukify tool, which will combine the kernel/initrd/stub components > to >

Re: [OE-core] [PATCH] systemd: fix packaging tpm2 plugin for cryptsetup

2023-10-18 Thread Erik Schilling
On Wed Oct 18, 2023 at 11:26 AM CEST, Jose Quaresma wrote: > Erik Schilling escreveu no dia quarta, > 18/10/2023 à(s) 07:33: > > > On Tue Oct 17, 2023 at 10:51 AM CEST, Jose Quaresma wrote: > > > Hi Erik, > > > > > > Erik Schilling escreveu

Re: [OE-core][PATCH 2/4] systemd: add systemd-crypt package

2023-10-18 Thread Erik Schilling
On Tue Oct 17, 2023 at 11:18 AM CEST, Jose Quaresma wrote: > Signed-off-by: Jose Quaresma > --- > meta/recipes-core/systemd/systemd_254.4.bb | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) Looks reasonable to me. I can test it, but it will probably take me a few days until I get to

Re: [OE-core][PATCH 2/4] systemd: add systemd-crypt package

2023-10-18 Thread Erik Schilling
On Tue Oct 17, 2023 at 11:18 AM CEST, Jose Quaresma wrote: > Signed-off-by: Jose Quaresma > --- > meta/recipes-core/systemd/systemd_254.4.bb | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-core/systemd/systemd_254.4.bb > b/meta/recipes-core/systemd/sys

Re: [OE-core] [PATCH] systemd: fix packaging tpm2 plugin for cryptsetup

2023-10-17 Thread Erik Schilling
On Tue Oct 17, 2023 at 10:51 AM CEST, Jose Quaresma wrote: > Hi Erik, > > Erik Schilling escreveu no dia terça, > 17/10/2023 à(s) 06:51: > > > On Mon Oct 16, 2023 at 6:31 PM CEST, Jose Quaresma wrote: > > > Erik Schilling escreveu no dia segunda, > > > 16

Re: [OE-core] [PATCH] systemd: fix packaging tpm2 plugin for cryptsetup

2023-10-16 Thread Erik Schilling
On Mon Oct 16, 2023 at 6:31 PM CEST, Jose Quaresma wrote: > Erik Schilling escreveu no dia segunda, > 16/10/2023 à(s) 13:02: > > > When building with `cryptsetup` and `tpm2` in the > > PACKAGECONFIG, this plugin will be emitted. > > > > Cc: Kristian Klausen >

[OE-core] [PATCH] systemd: fix packaging tpm2 plugin for cryptsetup

2023-10-16 Thread Erik Schilling
When building with `cryptsetup` and `tpm2` in the PACKAGECONFIG, this plugin will be emitted. Cc: Kristian Klausen Cc: Mikko Rapeli Cc: Javier Tia Fixes: 7b7dfbfaed ("systemd: Add tpm2 PACKAGECONFIG") Signed-off-by: Erik Schilling --- meta/recipes-core/systemd/systemd_254.4.bb | 1