commit | d9b26b91061e9bd282d4104c4b17cfa7814e76ca | [log] [tgz] |
---|---|---|
author | Dale Curtis <dalecurtis@chromium.org> | Mon Oct 24 13:34:46 2011 -0700 |
committer | Dale Curtis <dalecurtis@chromium.org> | Mon Oct 24 14:38:01 2011 -0700 |
tree | 57401b2ed44f2d8a2701d7024956c12e6e539c4a | |
parent | bf5af62e6932c93e28dfbaf02f23b3775dc68250 [diff] [blame] |
Fix partition rollback issues on update failure. BUG=chromium-os:22006 TEST=Ran command. Change-Id: I19475945e3b2a16fe03805630a5e56fcbbfb1923 Reviewed-on: http://gerrit.chromium.org/gerrit/10585 Reviewed-by: Darin Petkov <petkov@chromium.org> Tested-by: Dale Curtis <dalecurtis@chromium.org>
diff --git a/client/common_lib/cros/autoupdater.py b/client/common_lib/cros/autoupdater.py index c183fe5..a5bb207 100644 --- a/client/common_lib/cros/autoupdater.py +++ b/client/common_lib/cros/autoupdater.py
@@ -111,7 +111,7 @@ def revert_boot_partition(self): - part = self.rootdev() + part = self.rootdev('-s') logging.warn('Reverting update; Boot partition will be %s', part) return self._run('/postinst %s 2>&1' % part)