Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Issue 6677151: chromeos-firmware: refine 'incompatibility mode' customization design (Closed)

Created:
9 years, 8 months ago by Hung-Te
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

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 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=45b12f8

Patch Set 1 #

Total comments: 14

Patch Set 2 : refine by reviewer's comments #

Patch Set 3 : Fixes by a test on A* platform #

Patch Set 4 : More updates after being tested #

Patch Set 5 : refine usage help and other key-incompatibility related issues #

Total comments: 3

Patch Set 6 : remove empty lines #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -16 lines) Patch
M pack_dist/common.sh View 1 1 chunk +19 lines, -0 lines 0 comments Download
M pack_dist/crosutil.sh View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pack_dist/updater.sh View 1 2 3 4 5 11 chunks +100 lines, -15 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
Hung-Te
9 years, 8 months ago (2011-04-05 05:37:17 UTC) #1
Randall Spangler
http://codereview.chromium.org/6677151/diff/1/pack_dist/common.sh File pack_dist/common.sh (right): http://codereview.chromium.org/6677151/diff/1/pack_dist/common.sh#newcode145 pack_dist/common.sh:145: # Syntax: alert_incompatible_firmware reboot_will_autoupdate Seems like this should print ...
9 years, 8 months ago (2011-04-05 16:42:38 UTC) #2
Stefan Reinauer
Why do we need this?
9 years, 8 months ago (2011-04-05 17:14:25 UTC) #3
Hung-Te
On 2011/04/05 17:14:25, Stefan Reinauer wrote: > Why do we need this? The major concern ...
9 years, 8 months ago (2011-04-06 01:31:54 UTC) #4
Hung-Te
http://codereview.chromium.org/6677151/diff/1/pack_dist/common.sh File pack_dist/common.sh (right): http://codereview.chromium.org/6677151/diff/1/pack_dist/common.sh#newcode145 pack_dist/common.sh:145: # Syntax: alert_incompatible_firmware reboot_will_autoupdate On 2011/04/05 16:42:38, Randall Spangler ...
9 years, 8 months ago (2011-04-06 02:02:51 UTC) #5
Hung-Te
Any more feedbacks?
9 years, 8 months ago (2011-04-07 01:45:53 UTC) #6
Stefan Reinauer
LGTM http://codereview.chromium.org/6677151/diff/4006/pack_dist/crosutil.sh File pack_dist/crosutil.sh (right): http://codereview.chromium.org/6677151/diff/4006/pack_dist/crosutil.sh#newcode29 pack_dist/crosutil.sh:29: return ${FLAGS_TRUE} nice catch http://codereview.chromium.org/6677151/diff/4006/pack_dist/updater.sh File pack_dist/updater.sh (right): ...
9 years, 8 months ago (2011-04-07 16:22:03 UTC) #7
Hung-Te
http://codereview.chromium.org/6677151/diff/4006/pack_dist/updater.sh File pack_dist/updater.sh (right): http://codereview.chromium.org/6677151/diff/4006/pack_dist/updater.sh#newcode690 pack_dist/updater.sh:690: On 2011/04/07 16:22:04, Stefan Reinauer wrote: > drop empty ...
9 years, 8 months ago (2011-04-07 16:38:21 UTC) #8
Stefan Reinauer
9 years, 8 months ago (2011-04-07 18:17:27 UTC) #9
http://codereview.chromium.org/6677151/diff/11002/pack_dist/updater.sh
File pack_dist/updater.sh (right):

http://codereview.chromium.org/6677151/diff/11002/pack_dist/updater.sh#newcode89
pack_dist/updater.sh:89: " factory_install | factory_final | incompatible_update
)" "m"
Just discussing with Randall. Can you change this so that we don't have
incompatible_update as a user visible option? It should only be called
internally if needed.

Powered by Google App Engine
This is Rietveld 408576698