This is now possible without a TMP device so let's start signing
PCRs when building images with mkosi.
BuildDirectory=mkosi.builddir
CacheDirectory=mkosi.cache
-[Validation]
-SecureBoot=yes
-# Disabled until systemd-measure can operate without a TPM device.
-SignExpectedPcr=no
-
[Host]
QemuMem=2G
ExtraSearchPaths=build/
# SPDX-License-Identifier: LGPL-2.1-or-later
[Content]
+Autologin=yes
BaseTrees=../../mkosi.output/base
ExtraTrees=../../src:/root/src
Initrds=../../mkosi.output/initrd
zsh
[Validation]
-Autologin=yes
+SecureBoot=yes
+SignExpectedPcr=yes