The purpose of this script is only checking dm-verity image creation.
dm-verity is not activated.
Change-Id: I359e5bf37552f40861a429eab3ba61a403326b6c
--- /dev/null
+date +'[%m/%d %H:%M:%S %Z] dm-verity_only_image.umount umount post script - start'
+
+for IMG_PATH in $IMG_PATHS; do
+ if [ `basename $IMG_PATH` == "rootfs.img" ]; then
+ echo "Run verityctl format rootfs.img"
+ /usr/bin/verityctl format $IMG_PATH
+
+ echo "Disable dm-verity"
+ /usr/bin/sed -i 's/dm-verity0/dm-verity1/' $IMG_PATH
+ fi
+done
+
+date +'[%m/%d %H:%M:%S %Z] dm-verity_only_image.umount umount post script - end'