From: Pyfisch Date: Fri, 14 Oct 2022 18:43:16 +0000 (+0200) Subject: Document two systemd-repart options in man page X-Git-Tag: v252-rc2~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba4a5eff6e924dbea5a15255ce63d8b985d1fa8a;p=thirdparty%2Fsystemd.git 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. --- diff --git a/man/systemd-repart.xml b/man/systemd-repart.xml index 6a7aa21c66e..3585cbf1076 100644 --- a/man/systemd-repart.xml +++ b/man/systemd-repart.xml @@ -312,6 +312,22 @@ later setup step. + + + + Takes a file system path. Configures the signing key to use when creating verity + signature partitions with the Verity=signature setting in partition files. + + + + + + + Takes a file system path. Configures the PEM encoded X.509 certificate to use when + creating verity signature partitions with the Verity=signature setting in + partition files. + + diff --git a/src/partition/repart.c b/src/partition/repart.c index dd544d6415a..8e3cfece89d 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -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),