platform_bootable_recovery/updater
Tianjie Xu 0188935d55 Skip stashing source blocks in verify mode
Currently block_image_verify() stashes source blocks to /cache and
in some case triggers I/O errors. To avoid this risk, We create
a map from the hash value to the source blocks' range_set. When
executing stash command in verify mode, source range is saved but block
contents aren't stashed. And load_stash could get its value from
either the stashed file from the previous update, or the contents on
the source partition specified by the saved range.

Bug: 27584487
Bug: 25633753
Change-Id: I775baf4bee55762b6e7b204f8294afc597afd996
2016-03-23 15:19:18 -07:00
..
Android.mk resolve merge conflicts of 7b6027dde4 to master. 2016-02-04 11:26:29 -08:00
blockimg.cpp Skip stashing source blocks in verify mode 2016-03-23 15:19:18 -07:00
blockimg.h installer for new block OTA system 2014-08-19 16:53:39 -07:00
install.cpp DO NOT MERGE Control fault injection with config files instead of build flags 2016-03-16 12:36:57 -07:00
install.h updater: Add a function to check first block 2016-01-07 11:19:48 -08:00
updater.cpp DO NOT MERGE Control fault injection with config files instead of build flags 2016-03-16 12:36:57 -07:00
updater.h installer for new block OTA system 2014-08-19 16:53:39 -07:00