Слияние кода завершено, страница обновится автоматически
[Description of the task]
Rollback function in case of OTA failure: checks whether the activation was successful after the first system reboot following the update package installation. In case of failure, it rolls back the userdata partition data and switches the ab partition back to its original state.
[Solution to the problem]
Rollback_userdata_partition:
checkpoint=disable
is performed.checkpoint=enable
is executed, allowing the f2fs file system to automatically record changes to the data partition.Rollback_ab_partition:
In case of unsuccessful activation, the interface setactiveslot
is called for switching the partition.
[Source of the task]
State project - requirements for the stream versioning system OTA for the kernel.
Вход Перед тем как оставить комментарий