- In current, UI app terminates when progress is 100%
- It means only tota-ua is finished
- However, there are some post processes
- e.g. dm-verity hash remaking
- To prevent black screen during post process,
UI app will not be terminated until initrd-fota requests
Change-Id: I9e4ff181f17f9db76917fa765c092451412dfdba
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
remake_hash_table
remake_result=$?
+RO_PROGRESS_FILE=/tmp/upgrade/ro_progress
+if [ -f ${RO_PROGRESS_FILE} ]; then
+ echo -1 > ${RO_PROGRESS_FILE}
+fi
umount_partitions
if [ "$fota_result" = "0" ] && [ "$remake_result" = "0" ]; then