summaryrefslogtreecommitdiff
path: root/mkosi.presets/10-initrd
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-08 16:06:41 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-13 10:49:17 +0200
commit47e5e12866af14112452aeb8bc43a66191c6fbc1 (patch)
treef1f38524a56a3e7a5a3957ed638ba493bbb48650 /mkosi.presets/10-initrd
parent724683c27fd35e4828e35320ccfc62f885ca20bc (diff)
downloadsystemd-47e5e12866af14112452aeb8bc43a66191c6fbc1.tar.gz
mkosi: Package a erofs usr partition with signed verity
Let's start moving towards a more involved partitioning setup to test our stuff more when using mkosi. The root partition is generated on boot with systemd-repart. CentOS supports neither erofs nor btrfs so we use squashfs and xfs instead. We also enable SecureBoot= locally for additional coverage. This and the use of verity means users need to run `mkosi genkey` once to generate the keys necessary to do secure boot and verity.
Diffstat (limited to 'mkosi.presets/10-initrd')
-rw-r--r--mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf3
-rw-r--r--mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf3
2 files changed, 6 insertions, 0 deletions
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 c25a17a030..89a207dc71 100644
--- a/mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf
+++ b/mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf
@@ -6,3 +6,6 @@ Distribution=centos
[Output]
# TODO: Switch to zstd once we stop building CentOS Stream 8.
CompressOutput=xz
+
+[Content]
+Packages=xfsprogs
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 98f0b7dffb..a2a9352266 100644
--- a/mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf
+++ b/mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf
@@ -5,3 +5,6 @@ Distribution=arch debian fedora opensuse ubuntu
[Output]
CompressOutput=zst
+
+[Content]
+Packages=btrfs-progs