Skip to content

Commit

Permalink
dm-verity addition to initoverlayfs-install
Browse files Browse the repository at this point in the history
Signed-off-by: Martin McConnell	<[email protected]>
  • Loading branch information
martinmcconnell committed Feb 20, 2024
1 parent 1bc9ff2 commit 4e6337d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/initoverlayfs-install
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4e6337d

Please sign in to comment.