From 184bd017c70d51cb62d6005f034efec726f5db9c Mon Sep 17 00:00:00 2001 From: Martin McConnell Date: Wed, 21 Feb 2024 12:13:25 +0000 Subject: [PATCH] veritysetup in install script 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..5f2616f 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" "/etc/initoverlayfs-hash-$kver.img" + fi } # Support for ext4 is currently under development.