Enhancement 1: Fail if we run outside the chroot, because otherwise
you have to wait 10 minutes to find out your results won't be gathered.
Enhancement 2: Print the location of the log output file, for the
benefits of looky-loos who want to see what's going on.
Change-Id: I388b1855c5b6bb20b0efffbf0babd1f60caf7bcb
BUG=None
TEST=run the script per instructions, and see the new output
TEST=run the script outside the chroot, and see it fail immediately
Review URL: http://codereview.chromium.org/6519039
from within the chroot.
It also fixes a number of style issues.
It changes the meaning of cros_workon "list-all" to list all available
packages, and adds "list-live" to list all live packages.
It changes things that load chromeos-common.sh from the installer to
load it from /usr/lib/installer.
BUG=chromium-os:4230
TEST=synced, rebuilt chroot, made packages, made images, built chrome
from source, and wrote an image to a USB stick.
Review URL: http://codereview.chromium.org/6240018
Change-Id: I90c34420af1a64020402bafef8e9e77f56837c02
Change-Id: I791fa01fcd2feb0c7b4c7e3d63cebc88d896c8ac
BUG=chromium-os:9459
BUG=chromium-os:9460
TEST=run the script, and check results with showbootdata or by manually inspecting the output directory
TEST=run "bootperf invalid-hostname", and see that the error message is useful
Review URL: http://codereview.chromium.org/5156008
BUG=chromium-os:8655
TEST=run bootperf as described by 'bootperf --help'
TEST=run showbootstats as described by 'showbootstats --help'
Review URL: http://codereview.chromium.org/4148011
Change-Id: Idcfe206f7708fe5290960149952239219d1a96f6