Remove cksum test at boot

Given the postinstall step remove the upgrade check file,
we do not have to test if the file is still valid or not at boot.

Run the upgrade script if at first reboot or if the previous attempt
failed.

BUG=chromium:340083
CQ-DEPEND=CL:186172
TEST=Install image with cros flash, check the file is removed and
recreated at boot.
TEST=Install image with USB key. Check sda1 partition does not
contain the check file anymore.

Change-Id: I8ed632c61c24bacd698011a19022781b37e7331d
Reviewed-on: https://chromium-review.googlesource.com/186180
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
1 file changed
tree: 764a22a16ff8b25bc6d2a15e650eecbf9d6db467
  1. scripts/
  2. tests/
  3. LICENSE
  4. OWNERS
  5. README
  6. README.chromium