Change-Id: Ie9f52fa4a207ab7dbf43a248ee87ac5505b94267
get_partition_id
prepare_fakeroot
-if [[ "${P_SLOT}" != "" ]]
-then
- log "[Info] FOTA with A/B detected - jump to the ramdisk"
- restore_all_partitions
- jump_to_ramdisk
-fi
-
if ! mount_partitions ; then
umount_partitions
log "[Error] Upgrade failed"
do_reboot
fi
+if [ "${P_SLOT}" != "" ]
+then
+ log "[Info] FOTA with A/B detected - skip RO update"
+
+ umount_partitions
+ exec /sbin/fus_rw-init
+fi
+
# For debugging - It should be deleted on Release
/sbin/agetty -l /bin/bash -n --keep-baud 115200,38400,9600 console linux &