Merge "build_image still too aggressive with right sizing (part troix)"

This commit is contained in:
Treehugger Robot 2018-11-07 13:59:38 +00:00 committed by Gerrit Code Review
commit fcc971934b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ def BuildImage(in_dir, prop_dict, out_file, target_out=None):
logger.info(
"Not worth reducing image %d <= %d.", free_size, reserved_size)
else:
size -= free_size + (free_size // 60)
size -= free_size + (free_size // 61)
size += reserved_size
if block_size <= 4096:
size = common.RoundUpTo4K(size)