This makes sure the partition is grown on boot to fill the disk, which
is required for RuntimeSize= to work properly.
--- /dev/null
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Partition]
+Type=root
options=[
"--initrd", Path(initrd.output_dir) / "initrd",
"--kernel-command-line=systemd.unit=mkosi-check-and-shutdown.service",
+ # LVM confuses systemd-repart so we mask it for this test.
+ "--kernel-command-line=systemd.mask=systemd-repart.service",
"--kernel-command-line=root=LABEL=root",
"--kernel-command-line=rw",
"--incremental",