CHERRY-PICK (factory-2338.B) Disable system time check.
Disable system time check as system time is not preserved across power
cycles. This fix is only for Lucas factory branch.
BUG=chrome-os-partner:9937
TEST=Manually run 'gooftool finalize'.
CHERRY-PICK Change-Id: If2cba8ce92504f88390896fbcfed87e50907c3f3
Change-Id: I34551e41cf6d6bfe396805440d815ce9b635166c
Reviewed-on: https://gerrit.chromium.org/gerrit/26001
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Chinyue Chen <chinyue@chromium.org>
Reviewed-by: Katie Roberts-Hoffman <katierh@chromium.org>
diff --git a/py/gooftool.py b/py/gooftool.py
index deb79c1..64f3f20 100755
--- a/py/gooftool.py
+++ b/py/gooftool.py
@@ -497,7 +497,9 @@
VerifyDevSwitch({})
VerifyWpSwitch({})
VerifyHwid(options)
- VerifySystemTime({})
+ # Disable system time check as system time is not preserved across power
+ # cycles. (crosbug.com/p/9937)
+ #VerifySystemTime({})
VerifyKeys({})
VerifyRootFs({})