]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Mention roothash= and usrhash= in the kernel command line doc
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 17 Sep 2024 13:04:52 +0000 (15:04 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 17 Sep 2024 13:08:48 +0000 (15:08 +0200)
mkosi/resources/man/mkosi.md

index 08e007d41765e8c49b24c434fd21b8a50464b6ba..a53bd75cc3f0fae2c50fb15ea0d2ce25db12b080 100644 (file)
@@ -1003,10 +1003,13 @@ boolean argument: either `1`, `yes`, or `true` to enable, or `0`, `no`,
 `KernelCommandLine=`, `--kernel-command-line=`
 :   Use the specified kernel command line when building images.
 
-    If the value of this setting contains the literals `root=PARTUUID`
-    or `mount.usr=PARTUUID`, these are replaced with the partition UUID
-    of the root or usr partition respectively. For example,
-    `root=PARTUUID` would be replaced with
+    If the root or usr partition are created with verity enabled,
+    `roothash=` or `usrhash=` respecitvely are automatically added to the
+    kernel command line and `root=` or `mount.usr=` should not be added.
+    Otherwise, if the value of this setting contains the literals
+    `root=PARTUUID` or `mount.usr=PARTUUID`, these are replaced with the
+    partition UUID of the root or usr partition respectively. For
+    example, `root=PARTUUID` would be replaced with
     `root=PARTUUID=58c7d0b2-d224-4834-a16f-e036322e88f7` where
     `58c7d0b2-d224-4834-a16f-e036322e88f7` is the partition UUID of the
     root partition.