diff options
author | Michael Runge <mrunge@google.com> | 2014-10-28 19:24:19 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2014-10-29 02:54:51 +0000 |
commit | 63f01de81892aa4e40b517464b3d9ca7db666c9d (patch) | |
tree | d790adb42d1aa309caf10eca8cc8d74afff119c9 /tools/releasetools/edify_generator.py | |
parent | a60fb49704946b9d5cf0551ddd56bd1072131b85 (diff) | |
download | build-63f01de81892aa4e40b517464b3d9ca7db666c9d.zip build-63f01de81892aa4e40b517464b3d9ca7db666c9d.tar.gz build-63f01de81892aa4e40b517464b3d9ca7db666c9d.tar.bz2 |
Add post-install verification phase
Verify the SHA sum of all patched and extracted files after
a file system remount.
Bug: 18145574
Change-Id: I2f053d085543e10e39153a774542d37ee0a238bd
Diffstat (limited to 'tools/releasetools/edify_generator.py')
-rw-r--r-- | tools/releasetools/edify_generator.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/releasetools/edify_generator.py b/tools/releasetools/edify_generator.py index e4b9252..7d318a3 100644 --- a/tools/releasetools/edify_generator.py +++ b/tools/releasetools/edify_generator.py @@ -323,6 +323,10 @@ class EdifyGenerator(object): """Append text verbatim to the output script.""" self.script.append(extra) + def Unmount(self, mount_point): + self.script.append('unmount("%s");' % (mount_point,)) + self.mounts.remove(mount_point); + def UnmountAll(self): for p in sorted(self.mounts): self.script.append('unmount("%s");' % (p,)) |