]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Package a erofs usr partition with signed verity 27571/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 8 May 2023 14:06:41 +0000 (16:06 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 13 May 2023 08:49:17 +0000 (10:49 +0200)
commit47e5e12866af14112452aeb8bc43a66191c6fbc1
treef1f38524a56a3e7a5a3957ed638ba493bbb48650
parent724683c27fd35e4828e35320ccfc62f885ca20bc
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.
20 files changed:
.github/workflows/mkosi.yml
docs/HACKING.md
mkosi.conf.d/10-systemd.conf
mkosi.presets/00-base/mkosi.conf.d/10-debian-ubuntu.conf
mkosi.presets/00-base/mkosi.conf.d/10-opensuse.conf
mkosi.presets/10-initrd/mkosi.conf.d/10-centos.conf
mkosi.presets/10-initrd/mkosi.conf.d/10-default.conf
mkosi.presets/20-final/mkosi.conf.d/10-centos-fedora.conf
mkosi.presets/20-final/mkosi.conf.d/10-centos/mkosi.conf [new file with mode: 0644]
mkosi.presets/20-final/mkosi.conf.d/10-centos/mkosi.extra/usr/lib/repart.d/20-root.conf.d/xfs.conf [new file with mode: 0644]
mkosi.presets/20-final/mkosi.conf.d/10-centos/mkosi.repart/10-usr.conf.d/squashfs.conf [new file with mode: 0644]
mkosi.presets/20-final/mkosi.conf.d/10-ubuntu.conf
mkosi.presets/20-final/mkosi.extra/usr/lib/repart.d/20-root.conf [new file with mode: 0644]
mkosi.presets/20-final/mkosi.extra/usr/lib/systemd/mkosi-check-and-shutdown.sh
mkosi.presets/20-final/mkosi.extra/usr/lib/systemd/system/mkosi-check-and-shutdown.service
mkosi.presets/20-final/mkosi.repart/00-esp.conf [new file with mode: 0644]
mkosi.presets/20-final/mkosi.repart/10-usr.conf [new file with mode: 0644]
mkosi.presets/20-final/mkosi.repart/10-usr.conf.d/squashfs.conf [new file with mode: 0644]
mkosi.presets/20-final/mkosi.repart/11-usr-verity.conf [new file with mode: 0644]
mkosi.presets/20-final/mkosi.repart/12-usr-verity-sig.conf [new file with mode: 0644]