Set UPGRADE_SUCCESS to commit data in case of A/B upgrade 05/271805/1
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 1 Mar 2022 14:21:37 +0000 (15:21 +0100)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 1 Mar 2022 14:21:37 +0000 (15:21 +0100)
Change-Id: I44116fee97e75fd15d7c9438923c34ec4ecd5f84

scripts/fota-init.sh

index a13cd74f65fa57f0c1c3177572efba6a7e4a2156..b3c972b50d10e39b55dee2d2d3f81cda49835596 100755 (executable)
@@ -763,6 +763,7 @@ if [ "${P_SLOT}" != "" ]
 then
        log "[Info] FOTA with A/B detected - skip RO update"
 
+       UPGRADE_SUCCESS=1
        umount_partitions
        exec /sbin/fus_rw-init
 fi