added --test option
removed superfluous output (e.g. from dd) unless --verbose given
added --debug option for when you really want that output
added use of pv for a nice progress bar
TEST=(run script several times)
BUG=chromium-os:9563
Change-Id: Ib9d89ad5649b6cb6d5db35f66f6a3fda1ada0c53
Review URL: http://codereview.chromium.org/5176002
image read only to avoid unintended changes.
Change-Id: Id3a83786f2c1240a4401978c8cacffc0dcb9d66f
BUG=9073
TEST=Ran script with --patch_kernel, verified source image unmodified.
Ran ./image_to_live.sh to verify valid update was generated.
Review URL: http://codereview.chromium.org/4892002
2. Source shflags, if they are in the current directory
Change-Id: Id22e597a6fb71905f2d0ca5c4a1d94ce5a8a931f
Review URL: http://codereview.chromium.org/4177005
BUG=chromium-os:8185
TEST=Verify delta_generator is in path after emerging hard-host-depends.
Generate image using delta_generator from chroot.
Change-Id: I03f6260960f472d4ebfc8305945da3cbfc67ff6e
Review URL: http://codereview.chromium.org/4170003
BUG=7705
TEST=tried generating updates with and without the option
Change-Id: I45fccece0aa37c92e63427ea8f86e208f24253eb
Review URL: http://codereview.chromium.org/3782005
A corresponding CL adds support for the delta generator to generate
new style full updates. This CL adds support for creating new style
full updates to the common update payload generator script.
This does not change the defaults, so generating a full update still uses
the old style.
BUG=7248
TEST=generated/applied full update on host
Review URL: http://codereview.chromium.org/3604011
Normally, images are signed for USB boot and the HD boot patch is in
the stateful partition. Official image are resigned, and the kernel
partition needs no patch for HD boot. Since folks generating updates
generally don't need to patch, this CL turns off patching by default.
BUG=5975
TEST=Generated update payload
Review URL: http://codereview.chromium.org/3167035
Also, enforce use of cros_generate_update_payload to generate images.
BUG=5771
TEST=Ran ./cros_generate_update_payload to make full update
Review URL: http://codereview.chromium.org/3135024
This script wraps the old memento udpate generator and the new delta
updater. It will also generate new-style full updates soon, which are
full updates that use the delta-update format, when that code is ready.
BUG=5248
TEST=ran local script to do full/delta update
Review URL: http://codereview.chromium.org/2873082