chromeos-firmware: refine 'incompatibility mode' customization design
The customization in original flow does not know about "developer firmware" or
other update logic, and may cause accidentally updates even if developer
firmware is installed.
By this CL, we isolate the "detection of incompatibility" from customization
main entry, so customization can be made more easily, and never controls the
real "mode change".
Customization would also need to be changed - see https://chromereviews.googleplex.com/2739012/ for example.
BUG=chromium-os:13768
TEST=chromeos-firmwareupdate --mode=autoupdate # see incompatible
chromeos-firmwareupdate --mode=autoupdate --nocheck_rw_compatible # not seeing incompatible
Change-Id: I4e0e88ab11bc4ff960d4899a3857a6c9a41df813
R=rspangler@chromium.org,reinauer@chromium.org
Review URL: http://codereview.chromium.org/6677151
3 files changed