summaryrefslogtreecommitdiff
path: root/scripts/build/binary
diff options
context:
space:
mode:
authorThore Sommer <debian@thson.de>2021-07-10 16:52:02 +0200
committerThore Sommer <debian@thson.de>2021-07-11 10:33:48 +0200
commit0f53b8ed209d240c7a4e74cb9b3c3497ac517b19 (patch)
tree43523af83d348e095f2255877300b5609509eb5c /scripts/build/binary
parent873b2d4d7349514ad0e46ee6d028aaa40e7a528c (diff)
downloadvyos-live-build-0f53b8ed209d240c7a4e74cb9b3c3497ac517b19.tar.gz
vyos-live-build-0f53b8ed209d240c7a4e74cb9b3c3497ac517b19.zip
Adding dm-verity support for rootfs
This adds support for dm-vertiy on the root filesystem. Currently only squashfs is supported. Three new flags are introduced. * --dm-verity: Enable basic dm-verity support * --dm-verity-fec NB_ROOTS: Enable forward error correction. Optional * --dm-verity-sign SCRIPT: Specify signing script for the root hash. Optional
Diffstat (limited to 'scripts/build/binary')
-rwxr-xr-xscripts/build/binary1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/binary b/scripts/build/binary
index 971e28b95..bdf755e3c 100755
--- a/scripts/build/binary
+++ b/scripts/build/binary
@@ -46,6 +46,7 @@ fi
# Building root filesystem
lb binary_rootfs "${@}"
+lb binary_dm-verity "${@}"
lb binary_manifest "${@}"
# Prepare images