]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Add tpm2-tools to the initrd
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 10 Jul 2023 12:48:34 +0000 (14:48 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 10 Jul 2023 13:50:55 +0000 (15:50 +0200)
To provide tpm2_eventlog for PCR debugging.

mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf
mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf
mkosi.presets/10-initrd/mkosi.conf.d/10-opensuse.conf [new file with mode: 0644]

index 89a207dc71972aefa31b853aa45d5f9c042f4009..3f92e5230083a12689b9407cccc471fcaf8cf2db 100644 (file)
@@ -9,3 +9,4 @@ CompressOutput=xz
 
 [Content]
 Packages=xfsprogs
+         tpm2-tools
index 58e48989f3efee5062938a66d7584bb923390781..9224b92dd0dc236ffa4e68be89f3f18d2b68e08d 100644 (file)
@@ -2,9 +2,11 @@
 
 [Match]
 Distribution=!centos
+Distribution=!opensuse
 
 [Output]
 CompressOutput=zst
 
 [Content]
 Packages=btrfs-progs
+         tpm2-tools
diff --git a/mkosi.presets/10-initrd/mkosi.conf.d/10-opensuse.conf b/mkosi.presets/10-initrd/mkosi.conf.d/10-opensuse.conf
new file mode 100644 (file)
index 0000000..5cf2df3
--- /dev/null
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=opensuse
+
+[Output]
+CompressOutput=zst
+
+[Content]
+Packages=btrfs-progs
+         tpm2.0-tools