SED="/usr/bin/sed"
WC="/usr/bin/wc"
LS="/bin/ls"
+VERITYCTL="/usr/bin/verityctl"
+VERITY_HANDLER="/usr/bin/verity_handler"
FOTA_GUI="/usr/bin/fota_gui"
FOTA_GUI_ENABLE=
}
#------------------------------------------------
+# remake_hash_table
+#------------------------------------------------
+remake_hash_table() {
+ if [ -f "${VERITYCTL}" ]; then
+ if [ -f "${VERITY_HANDLER}" ]; then
+ "$MOUNT" -o remount,ro ${FAKE_ROOT}
+ "${VERITY_HANDLER}" ${PART_ROOTFS}
+ else
+ echo "Warning: ${VERITYCTL} exists but ${VERITY_HANDLER} not exists"
+ fi
+ fi
+}
+
+#------------------------------------------------
# Main Routine Start
#------------------------------------------------
if [ "$fota_result" = "0" ]; then
/bin/rm -fr ${DELTA_DIR}/*
fi
+
+remake_hash_table
umount_partitions
if [ "$fota_result" = "0" ]; then