From: Daan De Meyer Date: Tue, 17 Sep 2024 13:04:52 +0000 (+0200) Subject: Mention roothash= and usrhash= in the kernel command line doc X-Git-Tag: v25~290 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=029cf06632f6ae79c69f444c84fb36bcce893a0e;p=thirdparty%2Fmkosi.git Mention roothash= and usrhash= in the kernel command line doc --- diff --git a/mkosi/resources/man/mkosi.md b/mkosi/resources/man/mkosi.md index 08e007d41..a53bd75cc 100644 --- a/mkosi/resources/man/mkosi.md +++ b/mkosi/resources/man/mkosi.md @@ -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.