aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/releasetools/build_image.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/releasetools/build_image.py b/tools/releasetools/build_image.py
index 2bf7be05f..6aaff6bfa 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 25 % as number of files and directories is not whole picture. 78 # increase by > 4% as number of files and directories is not whole picture.
79 return output.count('\n') * 30 // 24 79 return output.count('\n') * 25 // 24
80 80
81 81
82def GetFilesystemCharacteristics(image_path, sparse_image=True): 82def GetFilesystemCharacteristics(image_path, sparse_image=True):