Add sync() command after recovery file content change 03/116403/1
authorBartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
Fri, 24 Feb 2017 07:04:11 +0000 (08:04 +0100)
committerBartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
Fri, 24 Feb 2017 07:04:11 +0000 (08:04 +0100)
commit8abfcb04951c54893b7bb3780c475b86693df300
tree3f28b42d36a93cdfab95f6177995e8feadf820a3
parent1ddac0fa59ca13a0d1e50f81d40eca37088ad468
Add sync() command after recovery file content change

There is no synchronization between cached memory and
filesystem, and when we stop eg. installation process by
remove battery from device, and after device is launched
again there is no recovery file of this operation, but we need
it to properly recovery of installation process.

Change-Id: Ie9dfe8a3a71cc36d8b95b39ed62bc17b61120b61
src/common/recovery_file.cc