Go to file
Tao Bao e27acfdc41 releasetools: Fix the computation in ReviseStashSize().
We compute the max stashed_blocks in ReviseStashSize(), prior to calling
WriteTransfers(), to avoid running out of space due to stashing.

There is a bug when computing the to-be-freed stashed blocks, where we
wrongly free the space _before_ executing the transfer command. This leads
to a script failure where the max stash size violates the max allowed
size in WriteTransfers().

Note that this bug doesn't affect already generated packages. It's only
an underestimate in ReviseStashSize(). The check in WriteTransfers() has
been correct to ensure the max stash size.

Bug: 33687949
Test: Successfully generated incremental OTA which failed previously.
Change-Id: I4f4f043c6f521fce81ca5286e6156f22d99bf7f7
2016-12-16 11:26:05 -08:00
core Implement LOCAL_TEST_DATA to ship data with tests 2016-12-13 17:18:36 -08:00
target Revert "Merge changes from topic 'fsconfig-2'" 2016-12-12 17:28:44 -08:00
tools releasetools: Fix the computation in ReviseStashSize(). 2016-12-16 11:26:05 -08:00
.gitignore Add build subprojects to .gitignore 2015-07-23 13:18:47 -07:00
Android.mk Add new Android.mk to handle repo move 2016-06-16 15:30:19 -07:00
CleanSpec.mk Prohibit host modules from using LOCAL_COPY_HEADERS 2016-11-29 20:42:37 +00:00
buildspec.mk.default Fix GET-INSTALL-PATH to work with Soong 2016-08-12 05:10:51 +00:00
envsetup.sh Support Android.bp in mgrep 2016-10-20 14:31:05 -07:00