diff options
Diffstat (limited to 'scripts/build/binary_dm-verity')
-rwxr-xr-x | scripts/build/binary_dm-verity | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/scripts/build/binary_dm-verity b/scripts/build/binary_dm-verity index fb33c7a5f..c9d899c42 100755 --- a/scripts/build/binary_dm-verity +++ b/scripts/build/binary_dm-verity @@ -28,11 +28,14 @@ fi Echo_message "Begin creating dm-verity hash for rootfs" -if [ "${LB_CHROOT_FILESYSTEM}" != "squashfs" ] -then - Echo_error "dm-verity support is only implemented for squashfs" - exit 1 -fi +case ${LB_CHROOT_FILESYSTEM} in + squashfs|ext2|ext3|ext4) + ;; + *) + Echo_error "dm-verity support is not implemented for ${LB_CHROOT_FILESYSTEM}!" + exit 1 + ;; +esac case "${LB_INITRAMFS}" in |