From 4e6337dc8dc6587b364cedc7cdfd0623795f8193 Mon Sep 17 00:00:00 2001 From: Martin McConnell Date: Tue, 20 Feb 2024 17:12:51 +0000 Subject: [PATCH] dm-verity addition to initoverlayfs-install Signed-off-by: Martin McConnell --- bin/initoverlayfs-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/initoverlayfs-install b/bin/initoverlayfs-install index f4b60bc..0fdb2ab 100755 --- a/bin/initoverlayfs-install +++ b/bin/initoverlayfs-install @@ -37,6 +37,9 @@ exec_erofs() { popd rm -f "${INITRAMFS_DIR}/initoverlayfs-$kver.img" mkfs.erofs $erofs_compression "${INITRAMFS_DIR}/initoverlayfs-$kver.img" ${INITRAMFS_DUMP_DIR} + if false; then + veritysetup format "${INITRAMFS_DIR}/initoverlayfs-$kver.img" "${INITRAMFS_DIR}/initoverlayfs-hash-$kver.img" + fi } # Support for ext4 is currently under development.