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

Issue 4424003: Add 'usb' option back to sign_official_build.sh script (Closed)

Created:
10 years, 1 month ago by Bill Richardson
Modified:
9 years, 6 months ago
Reviewers:
gauravsh
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

Add 'usb' option back to sign_official_build.sh script We still need a way to re-sign non-installer images so that they can be booted directly from USB. BUG=chromium-os:8679 TEST=manual, from within the build chroot Obtain a chromiumos_base_image from buildbot or your own build. Ensure that it's signed with the dev-keys (it should be). Modify it somehow. For example: (cros-chroot)$ cd src/platform/vboot_reference/scripts/image_signing (cros-chroot)$ ./set_chronos_password.sh chromiumos_base_image.bin mypassword Now resign the image: (cros-chroot)$ cd src/platform/vboot_reference/scripts/image_signing (cros-chroot)$ ./sign_official_build.sh usb chromiumos_base_image.bin \ /usr/share/vboot/devkeys usb_image.bin Then copy the usb_image to a USB stick: sudo dd if=usb_image of=/dev/WHATEVER The resulting USB stick should boot in recovery mode, and assuming you changed the password as shown above, should let you use that password to get a shell. Change-Id: I3aaa2b8787c52940249fd15007e075de7e017d78 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=64bd77e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M scripts/image_signing/sign_official_build.sh View 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Bill Richardson
10 years, 1 month ago (2010-11-03 23:04:34 UTC) #1
gauravsh
10 years, 1 month ago (2010-11-03 23:06:04 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698