[OE-core] [PATCH] systemd: Add repart PACKAGECONFIG

2021-09-01 Thread Kristian Klausen via lists.openembedded.org
systemd-repart[1] is useful for partitioning the disk: "systemd-repart grows and adds partitions to a partition table, based on the configuration files described in repart.d(5)."[1] openssl is required by repart, so it can be enabled like so: PACKAGECONFIG += "openssl repart" [1]

[OE-core] [PATCH v2] systemd: Add repart PACKAGECONFIG

2021-09-01 Thread Kristian Klausen via lists.openembedded.org
systemd-repart[1] is useful for partitioning the disk: "systemd-repart grows and adds partitions to a partition table, based on the configuration files described in repart.d(5)."[1] openssl is required by repart, so it can be enabled like so: PACKAGECONFIG += "openssl repart" [1]

[OE-core] [PATCH] systemd: Add homed PACKAGECONFIG

2021-09-03 Thread Kristian Klausen via lists.openembedded.org
If systemd is built with fdisk support[1] and the openssl and cryptsetup PACKAGECONFIG are enabled, systemd-homed[1] is automatically enabled. The org.freedesktop.home1.conf file was forgotten, so this commit adds the file and make enabling homed a explicit choice. [1] Automatically enabled if

[OE-core] [PATCH v2] wic: Add extra-space argument

2021-09-03 Thread Kristian Klausen via lists.openembedded.org
This allows extra space to be added after the last partition and is especially useful when free space is needed for ex: adding partitions on first boot with ex: systemd-repart[1] and the image is tested in QEMU. [1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html

[OE-core] [PATCH v2] systemd: Add homed PACKAGECONFIG

2021-09-03 Thread Kristian Klausen via lists.openembedded.org
If systemd is built with fdisk support[1] and the openssl and cryptsetup PACKAGECONFIG are enabled, systemd-homed[1] is automatically enabled. The org.freedesktop.home1.conf file was forgotten, so this commit adds the file and make enabling homed a explicit choice. systemd-homed.service and

[OE-core] [PATCH] wic: Add extra-space argument

2021-09-02 Thread Kristian Klausen via lists.openembedded.org
This allows extra space to be added after the last partition and is especially useful when free space is needed for ex: adding partitions on first boot with ex: systemd-repart[1] and the image is tested in QEMU. [1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html

[OE-core] [PATCH] wic/bootimg-efi: Add Unified Kernel Image option

2021-09-09 Thread Kristian Klausen via lists.openembedded.org
"A unified kernel image is a single EFI PE executable combining an EFI stub loader, a kernel image, an initramfs image, and the kernel command line. [...] Images of this type have the advantage that all metadata and payload that makes up the boot entry is monopolized in a single PE file that can

Re: [OE-core] [PATCH] wic/bootimg-efi: Add option for only installing the bootloader

2021-09-09 Thread Kristian Klausen via lists.openembedded.org
On Wed, Sep 08, 2021 at 12:36:04PM +0200, Kristian Klausen wrote: > systemd-boot supports automatic detection of Unified Kernel Images[1] if > the are installed into $BOOT/EFI/Linux/ with a .efi extension. In that > case a boot entry isn't needed nor is the normal kernel as the Unified > Kernel

Re: [OE-core] [RFC][PATCH] kernel: Add Unified Kernel Image image type

2021-09-09 Thread Kristian Klausen via lists.openembedded.org
On Wed, Sep 08, 2021 at 04:53:16PM +0200, Kristian Klausen wrote: > "A unified kernel image is a single EFI PE executable combining an EFI > stub loader, a kernel image, an initramfs image, and the kernel command > line. > > [...] > > Images of this type have the advantage that all metadata and

Re: [OE-core] [PATCH] wic/bootimg-efi: Add Unified Kernel Image option

2021-09-12 Thread Kristian Klausen via lists.openembedded.org
Den Fri, Sep 10, 2021 at 09:31:18 +0100 skrev Richard Purdie: > On Thu, 2021-09-09 at 17:53 +0000, Kristian Klausen via lists.openembedded.org > wrote: > > "A unified kernel image is a single EFI PE executable combining an EFI > > stub loader, a kernel image, an initramf

[OE-core] [PATCH v2] wic/bootimg-efi: Add Unified Kernel Image option

2021-09-13 Thread Kristian Klausen via lists.openembedded.org
"A unified kernel image is a single EFI PE executable combining an EFI stub loader, a kernel image, an initramfs image, and the kernel command line. [...] Images of this type have the advantage that all metadata and payload that makes up the boot entry is monopolized in a single PE file that can

Re: [OE-core] [PATCH] systemd: Add tpm2 PACKAGECONFIG

2021-09-15 Thread Kristian Klausen via lists.openembedded.org
Den Wed, Sep 15, 2021 at 12:48:18 +0200 skrev Quentin Schulz: > Hi Kristian, > > On Wed, Sep 15, 2021 at 12:23:08PM +0200, Kristian Klausen via > lists.openembedded.org wrote: > > The TPM2 support is used, among other things, for unlocking encrypted > > volumes. > >

[OE-core] [PATCH] wic/bootimg-efi: Add option for only installing the bootloader

2021-09-08 Thread Kristian Klausen via lists.openembedded.org
systemd-boot supports automatic detection of Unified Kernel Images[1] if the are installed into $BOOT/EFI/Linux/ with a .efi extension. In that case a boot entry isn't needed nor is the normal kernel as the Unified Kernel Image would likely be installed with IMAGE_EFI_BOOT_FILES. [1]

[OE-core] [PATCH] systemd: Add tpm2 PACKAGECONFIG

2021-09-15 Thread Kristian Klausen via lists.openembedded.org
The TPM2 support is used, among other things, for unlocking encrypted volumes. Signed-off-by: Kristian Klausen --- meta/recipes-core/systemd/systemd_249.3.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_249.3.bb

[OE-core] [RFC][PATCH] kernel: Add Unified Kernel Image image type

2021-09-08 Thread Kristian Klausen via lists.openembedded.org
"A unified kernel image is a single EFI PE executable combining an EFI stub loader, a kernel image, an initramfs image, and the kernel command line. [...] Images of this type have the advantage that all metadata and payload that makes up the boot entry is monopolized in a single PE file that can

[OE-core] [PATCH v3] wic/bootimg-efi: Add Unified Kernel Image option

2021-09-28 Thread Kristian Klausen via lists.openembedded.org
"A unified kernel image is a single EFI PE executable combining an EFI stub loader, a kernel image, an initramfs image, and the kernel command line. [...] Images of this type have the advantage that all metadata and payload that makes up the boot entry is monopolized in a single PE file that can

Re: [OE-core] [PATCH v2] wic/bootimg-efi: Add Unified Kernel Image option

2021-09-27 Thread Kristian Klausen via lists.openembedded.org
Den Mon, Sep 13, 2021 at 10:13:04 +0200 skrev Kristian Klausen: > "A unified kernel image is a single EFI PE executable combining an EFI > stub loader, a kernel image, an initramfs image, and the kernel command > line. > > [...] > > Images of this type have the advantage that all metadata and

[OE-core] [PATCH] ovmf: add TPM PACKAGECONFIG and enable if tpm is in MACHINE_FEATURES

2021-09-28 Thread Kristian Klausen via lists.openembedded.org
By enabling TPM support the boot will be measured into the TPM's Platform Configuration Registers (PCRs). Signed-off-by: Kristian Klausen --- meta/recipes-core/ovmf/ovmf_git.bb | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/ovmf/ovmf_git.bb

Re: [OE-core] [PATCH v2] wic/bootimg-efi: Add Unified Kernel Image option

2021-10-01 Thread Kristian Klausen via lists.openembedded.org
Den Thu, Sep 30, 2021 at 23:46:00 +0100 skrev Richard Purdie: > On Mon, 2021-09-27 at 13:18 +0200, Kristian Klausen wrote: > > Den Mon, Sep 13, 2021 at 10:13:04 +0200 skrev Kristian Klausen: > > > "A unified kernel image is a single EFI PE executable combining an EFI > > > stub loader, a kernel