Document two systemd-repart options in man page

Note --private-key and --certificate options for configuring
verity signature partitions in the listing of options.

Adjust one error message referring to the --certificate option.
This commit is contained in:
Pyfisch
2022-10-14 22:00:43 +02:00
committed by Daan De Meyer
parent 924a329a00
commit ba4a5eff6e
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -1580,7 +1580,7 @@ static int partition_read_definition(Partition *p, const char *path, const char
if (p->verity == VERITY_SIG && !arg_certificate)
return log_syntax(NULL, LOG_ERR, path, 1, SYNTHETIC_ERRNO(EINVAL),
"Verity signature partition requested but no PEM certificate provided (--certificate-file=)");
"Verity signature partition requested but no PEM certificate provided (--certificate=)");
if (p->verity == VERITY_SIG && (p->size_min != UINT64_MAX || p->size_max != UINT64_MAX))
return log_syntax(NULL, LOG_ERR, path, 1, SYNTHETIC_ERRNO(EINVAL),