Fix the wrong error message
apply_patch_space() checks the free space on /cache, not /system. Change-Id: I70996d5cd5a81fe4871ee738bddb1437e8df6fb9
This commit is contained in:
@@ -159,7 +159,7 @@ class EdifyGenerator(object):
|
|||||||
"""Check that there's at least 'amount' space that can be made
|
"""Check that there's at least 'amount' space that can be made
|
||||||
available on /cache."""
|
available on /cache."""
|
||||||
self.script.append(('apply_patch_space(%d) || abort("Not enough free space '
|
self.script.append(('apply_patch_space(%d) || abort("Not enough free space '
|
||||||
'on /system to apply patches.");') % (amount,))
|
'on /cache to apply patches.");') % (amount,))
|
||||||
|
|
||||||
def Mount(self, mount_point, mount_options_by_format=""):
|
def Mount(self, mount_point, mount_options_by_format=""):
|
||||||
"""Mount the partition with the given mount_point.
|
"""Mount the partition with the given mount_point.
|
||||||
|
Reference in New Issue
Block a user