AU: Remove obsolete postinst --postcommit call.
BUG=6251
TEST=unit test, tested update on device
Change-Id: Ib44b4698cab5fa1f2d0b5afd04dca500c8dbe84c
Review URL: http://codereview.chromium.org/4679003
diff --git a/postinstall_runner_action.h b/postinstall_runner_action.h
index 1169af9..c2498e0 100644
--- a/postinstall_runner_action.h
+++ b/postinstall_runner_action.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -28,7 +28,7 @@
class PostinstallRunnerAction : public Action<PostinstallRunnerAction> {
public:
- explicit PostinstallRunnerAction(bool precommit) : precommit_(precommit) {}
+ PostinstallRunnerAction() {}
typedef ActionTraits<PostinstallRunnerAction>::InputObjectType
InputObjectType;
typedef ActionTraits<PostinstallRunnerAction>::OutputObjectType
@@ -44,10 +44,6 @@
std::string Type() const { return StaticType(); }
private:
- // If true, this action runs before we've committed to the new update
- // (by marking it as bootable in the partition table).
- bool precommit_;
-
DISALLOW_COPY_AND_ASSIGN(PostinstallRunnerAction);
};