)]}'
{
  "commit": "59cafc2f7ad3700e3ecf4c7828f22a4ab27efc67",
  "tree": "c8cad3b73431cff3b43cb2ce459fff3df6dadc20",
  "parents": [
    "3bbb0c53867d2a3c0b4ea0dc07cd4a07edffe9f9"
  ],
  "author": {
    "name": "Hung-Te Lin",
    "email": "hungte@chromium.org",
    "time": "Tue Nov 22 01:41:38 2016"
  },
  "committer": {
    "name": "ChromeOS Commit Bot",
    "email": "chromeos-commit-bot@chromium.org",
    "time": "Fri Nov 25 06:21:25 2016"
  },
  "message": "utility: Allow chromeos-tpm-recovery to return failure.\n\nWhen some of the space re-creation procedure failed, chromeos-tpm-recovery\nshould exit with non-zero value and not saying TPM is successfully recovered.\n\nHowever, there are few known issues:\n - 0x1009 is not needed in TPM2.\n - The space is not created in TPM2.\n - tlcl does not support define spaces with policies yet (crosbug.com/p/59594).\n\nAs a result, we want to return failure only if writing any of the two\nspaces (0x1007, 0x1008) fails.\n\nThis change also revised chromeos-tpm-recovery so it won\u0027t exit with unbound\nvariable error due to early exit without having daemon_was_running variable.\n\nBRANCH\u003dNone\nBUG\u003dchrome-os-partner:60099\nTEST\u003dFor boards with TPM and TPM2, do:\n     build_image --board $BOARD factory_install;\n     Boot factory install shim, select \u0027I\u0027 and get TPM recovered.\n\nChange-Id: I3f79b02cdf77ac61cf1361033c489604dcd603f2\nSigned-off-by: Hung-Te Lin \u003chungte@chromium.org\u003e\nReviewed-on: https://chromium-review.googlesource.com/412543\nReviewed-by: Vadim Bendebury \u003cvbendeb@chromium.org\u003e\n(cherry picked from commit c66cbc3440b03440d591274b188ea62b2de7af80)\nReviewed-on: https://chromium-review.googlesource.com/414790\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e7959d2ca570dd6a0a3f2bc1219010f076d29f77",
      "old_mode": 33261,
      "old_path": "utility/chromeos-tpm-recovery",
      "new_id": "bcb1819f50bb9d4d95d7573ad475ebbd4b9968b4",
      "new_mode": 33261,
      "new_path": "utility/chromeos-tpm-recovery"
    }
  ]
}
