diff options
author | Treehugger Robot | 2018-12-17 20:13:10 -0600 |
---|---|---|
committer | Gerrit Code Review | 2018-12-17 20:13:10 -0600 |
commit | 7cac3adf1a285dec02b6d43b9882e958ae41d752 (patch) | |
tree | f8a93440d0ce9fb6c1e3fd006d249d3c8c513c82 /tools/releasetools | |
parent | d73e21ad3b1e1a1ecb637c13397e7775540e873f (diff) | |
parent | bd17fab26048d9469fd6d857517d77a81e9b1d74 (diff) | |
download | platform-build-7cac3adf1a285dec02b6d43b9882e958ae41d752.tar.gz platform-build-7cac3adf1a285dec02b6d43b9882e958ae41d752.tar.xz platform-build-7cac3adf1a285dec02b6d43b9882e958ae41d752.zip |
Merge "Relax inode usage estimation slack for DAP right sizing"
Diffstat (limited to 'tools/releasetools')
-rwxr-xr-x | tools/releasetools/build_image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/releasetools/build_image.py b/tools/releasetools/build_image.py index 9612499bd..146b8683b 100755 --- a/tools/releasetools/build_image.py +++ b/tools/releasetools/build_image.py | |||
@@ -75,8 +75,8 @@ def GetInodeUsage(path): | |||
75 | """ | 75 | """ |
76 | cmd = ["find", path, "-print"] | 76 | cmd = ["find", path, "-print"] |
77 | output = common.RunAndCheckOutput(cmd, verbose=False) | 77 | output = common.RunAndCheckOutput(cmd, verbose=False) |
78 | # increase by > 4% as number of files and directories is not whole picture. | 78 | # increase by 25 % as number of files and directories is not whole picture. |
79 | return output.count('\n') * 25 // 24 | 79 | return output.count('\n') * 30 // 24 |
80 | 80 | ||
81 | 81 | ||
82 | def GetFilesystemCharacteristics(sparse_image_path): | 82 | def GetFilesystemCharacteristics(sparse_image_path): |