Change-Id: I57e66b868eab7ab3b08a06c8bd3d97aa42c8040a
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
#/sbin/veritysetup --hash-offset=$hash_offset create $NAME $ROOTFS $ROOTFS $root_hash
/sbin/dmsetup create $NAME -r --table "0 $dmsetup_sectors verity 1 $ROOTFS $ROOTFS 4096 4096 \
- $dmsetup_blocks $dmsetup_hash_offset sha256 $root_hash $salt"
+ $dmsetup_blocks $dmsetup_hash_offset sha256 $root_hash $salt 1 ignore_zero_blocks"
mount /dev/mapper/$NAME /sysroot
exit 0