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

Issue 3772013: make_dev_ssd: new script to change SSD image to dev key (Closed)

Created:
10 years, 2 months ago by Hung-Te
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson, vb
Visibility:
Public.

Description

make_dev_ssd: new script to change SSD image to dev key The make_dev_ssd.sh is made for devinstall shim to change SSD kernels to be signed by dev keys. - Kernel A, B will be resigned with dev keys (ignore if A/B seems not bootable) - Adding param --remove_rootfs_verification can even disable rootfs hash check This CL also includes some shared refine/fix to make_dev_firmware.sh BUG=chrome-os-partner:1276 TEST=sudo ./make_dev_ssd.sh; (seeing Kernel A is resigned and B is ignored) then reboot without developer mode (OK), rootdev shows /dev/dm-0, rootdev -s shows /dev/sda3 sudo ./make_dev_ssd.sh --remove_rootfs_verification; then reboot without developer mode (OK), rootdev shows /dev/sda3 Change-Id: Ic20f734b2af42e50a43c19a565a166a39d57a7fd Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=20525b9

Patch Set 1 #

Patch Set 2 : fix typo/refine #

Patch Set 3 : Refine for new layout #

Total comments: 29

Patch Set 4 : refine by reviewer's comments #

Total comments: 2

Patch Set 5 : Refine shflags dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -56 lines) Patch
M scripts/image_signing/common.sh View 4 3 chunks +31 lines, -19 lines 0 comments Download
M scripts/image_signing/make_dev_firmware.sh View 1 2 3 4 10 chunks +30 lines, -37 lines 0 comments Download
A scripts/image_signing/make_dev_ssd.sh View 1 2 3 4 1 chunk +236 lines, -0 lines 0 comments Download
A tests/devkeys/firmware_bmpfv.bin View Binary file 0 comments Download

Messages

Total messages: 9 (0 generated)
Hung-Te
10 years, 2 months ago (2010-10-15 13:06:06 UTC) #1
Hung-Te
wfrichar: please confirm if the behavior is what you expected gauravsh: please review the script ...
10 years, 2 months ago (2010-10-15 13:07:11 UTC) #2
Bill Richardson
LGTM.
10 years, 2 months ago (2010-10-15 18:34:25 UTC) #3
gauravsh
http://codereview.chromium.org/3772013/diff/6001/7002 File scripts/image_signing/make_dev_ssd.sh (right): http://codereview.chromium.org/3772013/diff/6001/7002#newcode41 scripts/image_signing/make_dev_ssd.sh:41: err_die() { since this and a few other functions ...
10 years, 2 months ago (2010-10-15 20:30:45 UTC) #4
Hung-Te
Thanks for the review. Comments are addressed with fixes: http://codereview.chromium.org/3772013/diff/6001/7002 File scripts/image_signing/make_dev_ssd.sh (right): http://codereview.chromium.org/3772013/diff/6001/7002#newcode41 scripts/image_signing/make_dev_ssd.sh:41: ...
10 years, 2 months ago (2010-10-16 00:12:27 UTC) #5
Hung-Te
http://codereview.chromium.org/3772013/diff/6001/7002 File scripts/image_signing/make_dev_ssd.sh (right): http://codereview.chromium.org/3772013/diff/6001/7002#newcode58 scripts/image_signing/make_dev_ssd.sh:58: # Checks if the files given by parameters all ...
10 years, 2 months ago (2010-10-16 00:13:53 UTC) #6
gauravsh
LGTM with some comments I'd like to keep any dependencies on shflags as restricted as ...
10 years, 2 months ago (2010-10-16 00:29:10 UTC) #7
Hung-Te
http://codereview.chromium.org/3772013/diff/6001/7002 File scripts/image_signing/make_dev_ssd.sh (right): http://codereview.chromium.org/3772013/diff/6001/7002#newcode41 scripts/image_signing/make_dev_ssd.sh:41: err_die() { OK, let's do this in some other ...
10 years, 2 months ago (2010-10-16 01:14:53 UTC) #8
gauravsh
10 years, 2 months ago (2010-10-16 01:19:52 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698