• Pavol Marko's avatar
    Perform initial enrollment check for Chrome OS · a12b78ab
    Pavol Marko authored
    If FRE is not performed, and initial enrollment is enabled according to
    command line flags and device state, performs initial enrollment check.
    Specifically, the initial enrollment check is done if all of the
    following conditions are true:
    - the device was not enterprise enrolled or in consumer mode before
      (according to the check_enrollment VPD variable)
    - the RLZ embargo date has passed
      (to ensure not to do initial enrollment exchanges on the factory floor)
    - Initial enrollment is enabled usinga  command-line switch
    - serial number and RLZ brand code are available.
    
    Bug: 839353
    Change-Id: I259c06a5e5274f3bdef54ccc0161e6f642f9499f
    Reviewed-on: https://chromium-review.googlesource.com/1052707Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
    Reviewed-by: default avatarRoger Tawa <rogerta@chromium.org>
    Reviewed-by: default avatarMaksim Ivanov <emaxx@chromium.org>
    Commit-Queue: Pavol Marko <pmarko@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#558797}
    a12b78ab
tpm_firmware_update.cc 8.54 KB