Merge "Remove post-install verification" into nyc-dev
This commit is contained in:
@@ -1335,7 +1335,8 @@ class BlockDifference(object):
|
|||||||
if progress:
|
if progress:
|
||||||
script.ShowProgress(progress, 0)
|
script.ShowProgress(progress, 0)
|
||||||
self._WriteUpdate(script, output_zip)
|
self._WriteUpdate(script, output_zip)
|
||||||
self._WritePostInstallVerifyScript(script)
|
if OPTIONS.verify:
|
||||||
|
self._WritePostInstallVerifyScript(script)
|
||||||
|
|
||||||
def WriteStrictVerifyScript(self, script):
|
def WriteStrictVerifyScript(self, script):
|
||||||
"""Verify all the blocks in the care_map, including clobbered blocks.
|
"""Verify all the blocks in the care_map, including clobbered blocks.
|
||||||
@@ -1459,7 +1460,8 @@ class BlockDifference(object):
|
|||||||
|
|
||||||
call = ('block_image_update("{device}", '
|
call = ('block_image_update("{device}", '
|
||||||
'package_extract_file("{partition}.transfer.list"), '
|
'package_extract_file("{partition}.transfer.list"), '
|
||||||
'"{partition}.new.dat", "{partition}.patch.dat");\n'.format(
|
'"{partition}.new.dat", "{partition}.patch.dat") ||\n'
|
||||||
|
' abort("Failed to update {partition} image.");'.format(
|
||||||
device=self.device, partition=self.partition))
|
device=self.device, partition=self.partition))
|
||||||
script.AppendExtra(script.WordWrap(call))
|
script.AppendExtra(script.WordWrap(call))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user