]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Document that we automatically handle roothash= for verity partitions
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 Nov 2023 19:15:25 +0000 (20:15 +0100)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Tue, 7 Nov 2023 08:08:01 +0000 (09:08 +0100)
mkosi/resources/mkosi.md

index 5ce0043cacdac125505b2faa5d65d76d5603dfec..2c185f14040f0cd239c4f643e1835f4a98e3b92b 100644 (file)
@@ -560,6 +560,15 @@ boolean argument: either `1`, `yes`, or `true` to enable, or `0`, `no`,
   kernel image with the OS image in the `.initrd` PE section) or `none` (the OS
   image is solely intended as a build image to produce another artifact).
 
+: If the `disk` output format is used, the disk image is generated using
+  `systemd-repart`. The repart partition definition files to use can be
+  configured using the `RepartDirectories=` setting or via
+  `mkosi.repart/`. When verity partitions are configured using
+  systemd-repart's `Verity=` setting, mkosi will automatically parse the
+  verity hash partition's roothash from systemd-repart's JSON output and
+  include it in the kernel command line of every unified kernel image
+  built by mkosi.
+
 `ManifestFormat=`, `--manifest-format=`
 
 : The manifest format type or types to generate. A comma-delimited