From: Daan De Meyer Date: Mon, 10 Jul 2023 12:48:34 +0000 (+0200) Subject: mkosi: Add tpm2-tools to the initrd X-Git-Tag: v254-rc2~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db1264a811128cd640ed0b2cc20794932fda90bf;p=thirdparty%2Fsystemd.git mkosi: Add tpm2-tools to the initrd To provide tpm2_eventlog for PCR debugging. --- diff --git a/mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf b/mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf index 89a207dc719..3f92e523008 100644 --- a/mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf +++ b/mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf @@ -9,3 +9,4 @@ CompressOutput=xz [Content] Packages=xfsprogs + tpm2-tools diff --git a/mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf b/mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf index 58e48989f3e..9224b92dd0d 100644 --- a/mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf +++ b/mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf @@ -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 index 00000000000..5cf2df397ed --- /dev/null +++ b/mkosi.presets/10-initrd/mkosi.conf.d/10-opensuse.conf @@ -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