summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThore Sommer <debian@thson.de>2021-07-10 16:46:00 +0200
committerThore Sommer <debian@thson.de>2021-07-11 10:33:56 +0200
commite02e2df4b9aaa5e227adc2210534fbb081ecbe7a (patch)
tree424961accedb119bbeee2150c7b64d3de10a190d
parent0f53b8ed209d240c7a4e74cb9b3c3497ac517b19 (diff)
downloadvyos-live-build-e02e2df4b9aaa5e227adc2210534fbb081ecbe7a.tar.gz
vyos-live-build-e02e2df4b9aaa5e227adc2210534fbb081ecbe7a.zip
docs: documentation for dm-verity feature
-rw-r--r--manpages/en/lb_config.112
1 files changed, 12 insertions, 0 deletions
diff --git a/manpages/en/lb_config.1 b/manpages/en/lb_config.1
index 91e6a55be..7982079b6 100644
--- a/manpages/en/lb_config.1
+++ b/manpages/en/lb_config.1
@@ -106,6 +106,12 @@
.br
[\fB\-\-distribution\-binary\fR \fICODENAME\fR]
.br
+ [\fB\-\-dm\-verity\fR]
+.br
+ [\fB\-\-dm\-verity\-fec\fR \fINB_ROOTS\fR]
+.br
+ [\fB\-\-dm\-verity\-sign\fR \fISIGN_SCRIPT\fR]
+.br
[\fB\-\-dump\fR]
.br
[\fB\-\-firmware\-binary\fR true|false]
@@ -334,6 +340,12 @@ defines the distribution of the resulting live system. This currently defaults t
defines the distribution enabled in the resulting live system (defaults to the value set in \fB\-\-distribution\fR)
.IP "\fB\-\-distribution\-chroot\fR \fICODENAME\fR" 4
defines the distribution used to build the live system (defaults to the value set in \fB\-\-distribution\fR)
+.IP "\fB\-\-dm\-verity\fR" 4
+Enables dm-verity support for root file system. Currently only squashfs is supported. For more information see \fIlive\-boot\fR(7).
+.IP "\fB\-\-dm\-verity\-fec\fR \fINB_ROOTS\fR" 4
+Enables forward error correction for dm-verity. \fINB_ROOTS\fR is the number of error correction roots thas should be used. The value can between 2 and 24. Android uses 2 by default.
+.IP "\fB\-\-dm\-verity\-sign\fR \fISIGN_SCRIPT\fR" 4
+Sign root hash of dm-verity device. Script takes two arguments: the root hash and a file to output the signature to.
.IP "\fB\-\-dump\fR" 4
prepares a report of the currently present live system configuration and the version of live\-build used. This is useful to provide if you submit bug reports, helping to provide basic useful information required for us to locate and replicate an error.
.IP "\fB\-\-firmware\-binary\fR true|false" 4