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

Issue 6870026: make_dev_ssd: more sanity checks (Closed)

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

Description

make_dev_ssd: more sanity checks make_dev_ssd is a powerful command bug may confuse developers by its behavior. Adding sanity checks can prevent developers throwing their system into un-bootable ste. BUG=chromium-os:14219 TEST=./make_dev_ssd.sh -i some_images; # no check, pass ./make_dev_ssd.sh # see alert for live partitions (with non-developer firmware) ./make_dev_ssd.sh --partitions 2 # seeing firmware warning (with developer firmware) ./make_dev_ssd.sh --partitions 2 # pass, no warning (with dev-signed normal firmware) ./make_dev_ssd.sh --partitions 2 # pass, no warning ./make_dev_ssd.sh -f # seeing 5 second condown alert screen and then continue Change-Id: I7ae134c03899b2dc4a6d95f6d9091c38e6f8cf65 R=rspangler@chromium.org Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=c1d8dc8

Patch Set 1 #

Total comments: 8

Patch Set 2 : refined by reviewer's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -33 lines) Patch
M scripts/image_signing/make_dev_ssd.sh View 1 8 chunks +133 lines, -33 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Hung-Te
9 years, 8 months ago (2011-04-16 07:32:14 UTC) #1
Hung-Te
Hi, any comments for this? Thanks
9 years, 8 months ago (2011-04-19 01:56:05 UTC) #2
Randall Spangler
http://codereview.chromium.org/6870026/diff/1/scripts/image_signing/make_dev_ssd.sh File scripts/image_signing/make_dev_ssd.sh (right): http://codereview.chromium.org/6870026/diff/1/scripts/image_signing/make_dev_ssd.sh#newcode8 scripts/image_signing/make_dev_ssd.sh:8: # of a kernels on an disk image (usually ...
9 years, 8 months ago (2011-04-19 20:40:12 UTC) #3
Hung-Te
Thanks for the review. Please take a look again, thanks. http://codereview.chromium.org/6870026/diff/1/scripts/image_signing/make_dev_ssd.sh File scripts/image_signing/make_dev_ssd.sh (right): http://codereview.chromium.org/6870026/diff/1/scripts/image_signing/make_dev_ssd.sh#newcode8 ...
9 years, 8 months ago (2011-04-20 01:30:20 UTC) #4
Randall Spangler
http://codereview.chromium.org/6870026/diff/1/scripts/image_signing/make_dev_ssd.sh File scripts/image_signing/make_dev_ssd.sh (right): http://codereview.chromium.org/6870026/diff/1/scripts/image_signing/make_dev_ssd.sh#newcode305 scripts/image_signing/make_dev_ssd.sh:305: if [ "$ORIGINAL_PARTITIONS" != "$DEFAULT_PARTITIONS" ]; then On 2011/04/20 ...
9 years, 8 months ago (2011-04-20 19:31:57 UTC) #5
Hung-Te
http://codereview.chromium.org/6870026/diff/1/scripts/image_signing/make_dev_ssd.sh File scripts/image_signing/make_dev_ssd.sh (right): http://codereview.chromium.org/6870026/diff/1/scripts/image_signing/make_dev_ssd.sh#newcode305 scripts/image_signing/make_dev_ssd.sh:305: if [ "$ORIGINAL_PARTITIONS" != "$DEFAULT_PARTITIONS" ]; then On 2011/04/20 ...
9 years, 8 months ago (2011-04-21 01:58:35 UTC) #6
Randall Spangler
9 years, 8 months ago (2011-04-21 23:01:10 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698