Raja Aluri
aeb1048742
Moving generating au-generator.zip file to build_image.
...
Change-Id: Id4ed6af96e0b621f4ad36966fad45c887b991373
BUG=None
TEST=Ran a fresh build_packages and build_image for x86-generic.
Review URL: http://codereview.chromium.org/5689004
2010-12-10 13:03:09 -08:00
David James
3146eaa74e
Fix typo where host prebuilts aren't getting updated.
...
archive_build.sh has code to archive host prebuilts, but the code isn't working because of a typo in archive_build.sh.
The typo: $FLAGS_board is misspelled as $FLAGS_BOARD.
BUG=chromium-os:10148
TEST=Ran prebuilt.py with --sync-host option
Change-Id: I50129b1fdfb931b1c076a064b970d7d943f556ac
Review URL: http://codereview.chromium.org/5724001
2010-12-09 09:37:14 -08:00
repo sync
bce3668d75
Revert "Copying au-generator.zip file to the image directory"
...
This reverts commit a8107a22d6
.
TEST=none
BUG=http://code.google.com/p/chromium-os/issues/detail?id=9639
Change-Id: I45c41dc6a3ffc22363bd9775c335fa87c0aa5174
TBR=
2010-11-24 15:00:43 -08:00
Raja Aluri
a8107a22d6
Copying au-generator.zip file to the image directory
...
Change-Id: Id4ed6af96e0b621f4ad36966fad45c887b991373
BUG=4015
TEST=Ran archiv_build.sh with the build_bot flow
Review URL: http://codereview.chromium.org/5305006
2010-11-24 11:22:55 -08:00
Scott Zawalski
7333e2b4c4
Update prebuilt.py call to use the _proper_ variable for finding the build root.
...
BUG=8603
TEST=Tested where GCLIENT_ROOT points to on rm and x86
Review URL: http://codereview.chromium.org/4363001
2010-11-02 18:01:14 -07:00
Scott Zawalski
27dbab06f2
Update prebuilt.py call to reference proper external path
...
BUG=NA
TEST=Ran on a full buildbot run to verify paths
Review URL: http://codereview.chromium.org/4282002
2010-11-02 00:46:37 -07:00
Scott Zawalski
2eb6dfb872
Fix flag boolean
2010-10-29 11:11:41 -07:00
Scott Zawalski
3b0c6d8f83
Since archive_build is also called by cbuild we need to hide the
...
prebuilt call behind a flag.
2010-10-29 11:07:42 -07:00
Scott Zawalski
720364bf56
Update relative path to be 4 directories deep since archive_build's cwd
...
is abused throughout the script and this is where end up at when prebuilt
is called
BUG=8389
TEST=Ran from the directory archive_build actually runs from.
Review URL: http://codereview.chromium.org/4119017
2010-10-29 10:40:57 -07:00
Scott Zawalski
695adf144a
Update archive_build to push prebuilts to Google storage land.
...
Enabled host prebuilt upload on the x86-generic target.
BUG=NA
TEST=Tested on an x86-generic build to ensure it uploads as expected
Review URL: http://codereview.chromium.org/4128014
2010-10-28 16:56:00 -07:00
J. Richard Barnette
e1010d8cb2
Fix two very broken tests for null strings in archive_build.sh
...
Change-Id: I7c5d251ab1ae020c3ae8a10ca017c34a02eff893
BUG=None
TEST=./archive_build.sh --test_mod
TEST=./archive_build.sh --test_mod --from=../build/images/x86-generic
TEST=./archive_build.sh --board=x86-generic --gsutil_archive=/tmp --gsutil=echo
TEST=./archive_build.sh --board=x86-generic --gsutil_archive=/tmp --gsutil=echo --gsd_gen_index=echo
Review URL: http://codereview.chromium.org/4153001
2010-10-26 11:21:47 -07:00
Nick Sanders
ad0599f00c
Workaround chrome-bot's special case wackiness.
...
BUG=4547
TEST="untestable - the failure can only occur on chrome-bot, which I don't have access to "
Change-Id: Ia90eaa7c673f16533dbc397adf7f76e6404c6d2b
Review URL: http://codereview.chromium.org/3978005
2010-10-22 21:15:02 -07:00
Ken Mixter
9b07a8ed9d
Revert "Allow build of shim"
...
This reverts commit 9a9ba1f769
.
BUG=
TEST=
Review URL: http://codereview.chromium.org/4048002
Change-Id: I69d55a29bee690ac374c82a48fa718afe44dbaa1
2010-10-22 17:09:28 -07:00
Nick Sanders
9a9ba1f769
Allow build of shim
...
BUG=4547
TEST="run archive build"
Change-Id: I716fbd2f648b8e5137ee515aaed7be89a6af8f37
Review URL: http://codereview.chromium.org/3828015
2010-10-22 11:11:08 -07:00
Ken Mixter
8899d5a90b
Store away breakpad symbols in debug.tgz
...
BUG=5355
Change-Id: I1f6dff3808c5bfaf4b7ed6ba75e4d19b196d749c
Review URL: http://codereview.chromium.org/3166029
2010-08-25 09:17:38 -07:00
Scott Zawalski
ec6421c21a
Currently we pass in the path that is outside of the chroot to a script that runs inside of the chroot. We need to make sure we pass the path that is in the chroot to the mod_image_for_recovery.sh.
...
Review URL: http://codereview.chromium.org/3014048
2010-08-02 12:31:35 -07:00
David McMahon
7f2951d993
Add do_recovery_mod() to create recovery image
...
Review URL: http://codereview.chromium.org/3020037
2010-07-29 14:37:06 -07:00
Zelidrag Hornung
151112ce00
Add checkpoints to archive_build
...
Review URL: http://codereview.chromium.org/2806088
2010-07-29 10:32:26 -07:00
Zelidrag Hornung
e6532bc3dd
Added output to tar command so it does not cause timeout to kick in.
...
Review URL: http://codereview.chromium.org/3076012
2010-07-28 11:34:29 -07:00
Ken Mixter
25d48c4dcd
Use gsutil to archive debug.tgz too
...
BUG=4263
Review URL: http://codereview.chromium.org/2866036
2010-07-01 11:20:42 -07:00
Ken Mixter
aba0429e24
Archive debug artifacts - take two
...
Review URL: http://codereview.chromium.org/2852033
2010-06-30 12:38:53 -07:00
bradnelson
51a2e575b5
Fixing yet another path mistake.
...
BUG=None
TEST=None
TBR=djmm
Merge branch 'master' of ssh://chromiumos-git/crosutils
Fixing typo
BUG=None
TEST=None
TBR=djmm
Merge branch 'master' of ssh://chromiumos-git/crosutils
Fixing command line to work with file acls.
Merge branch 'gsd'
Merge branch 'master' into gsd
Fixing typo in command line.
Refactoring gsutil archiving into a function. Adding optional gsd_generate_index step.
Adding ACL option to archive_build.sh
Review URL: http://codereview.chromium.org/2881005
2010-06-30 05:13:18 -07:00
bradnelson
2303fa1d0f
Fixing typo
...
BUG=None
TEST=None
TBR=djmm
Merge branch 'master' of ssh://chromiumos-git/crosutils
Fixing command line to work with file acls.
Merge branch 'gsd'
Merge branch 'master' into gsd
Fixing typo in command line.
Refactoring gsutil archiving into a function. Adding optional gsd_generate_index step.
Adding ACL option to archive_build.sh
Review URL: http://codereview.chromium.org/2803030
2010-06-30 04:51:26 -07:00
bradnelson
ed7f1122d6
Fixing command line to work with file acls.
...
Merge branch 'gsd'
Merge branch 'master' into gsd
Fixing typo in command line.
Refactoring gsutil archiving into a function. Adding optional gsd_generate_index step.
Adding ACL option to archive_build.sh
Review URL: http://codereview.chromium.org/2847036
2010-06-30 01:44:45 -07:00
bradnelson
8046594c0e
Adding ACL option to archive_build.sh
...
Review URL: http://codereview.chromium.org/2804030
2010-06-29 18:12:08 -07:00
robotboy
b49136dc8a
TBR: Fix tree breakage. Ken's commit added sudo calls to archive_build.sh.
2010-06-29 15:03:37 -07:00
Ken Mixter
428e195dbe
Add debug.tgz debug info archive as buildbot artifact
...
BUG=4263
Review URL: http://codereview.chromium.org/2852022
2010-06-29 12:42:51 -07:00
bradnelson
7fcb19234b
Adding option to archive to google storage for developers.
...
Review URL: http://codereview.chromium.org/2834016
2010-06-22 20:37:01 -07:00
Nick Sanders
07eac9ef47
Change file permissions on factory.zip
...
Review URL: http://codereview.chromium.org/2714005
2010-06-16 04:19:39 -07:00
Chris Sosa
bfabd932e9
Do not delete src_image if --notest_mod is set.
...
TEST=From an already built image dir, ran archive_build with --notest_mod
set and verified the image had chromiumos_base_image.bin and chromiumos_image.bin.
Review URL: http://codereview.chromium.org/2111015
2010-05-21 09:54:46 -07:00
Nick Sanders
5fa0950681
add optional facory builds to archive_build
...
Review URL: http://codereview.chromium.org/2084013
2010-05-20 20:37:14 -07:00
Chris Sosa
d44550272c
Cleanup of adding pristine image and fixing of symlinks in developer image.
...
TEST=Tested with building a new image, looking in the output directory, running
the image and running vi.
Review URL: http://codereview.chromium.org/2075019
2010-05-20 10:14:06 -07:00
Chris Sosa
3adaa549e0
Only allows mod_image_for_test for default from behavior.
...
BUG=1970
TEST=Running archive build with clean build and producing
a test image and normal image and zip file. Also running
with custom from and getting an error code with test_mod=true
This change is required because mod_image_for_test requires it
to be inside chroot. Since the buildbot is the main user
of this script, this deals with that use case. Other users
of this script will have to run mod_image_for_test manually
outside of archive_build
Review URL: http://codereview.chromium.org/2008001
2010-05-06 17:52:32 -07:00
David McMahon
ad9c20327d
Run hwqual on test_mod=true as it has dependencies on test_mod=true.
...
Review URL: http://codereview.chromium.org/1553025
2010-04-12 12:21:35 -07:00
Bill Richardson
d59f616dac
quick fix for archive_build.sh
...
Review URL: http://codereview.chromium.org/1542008
2010-03-30 17:48:18 -07:00
Ken Mixter
54a3e8347d
Add script to package hwqual release from buildbot artifacts.
...
Review URL: http://codereview.chromium.org/716001
2010-03-12 14:52:51 -08:00
Ken Mixter
eb31903982
build_autotest runs as part of build_packages given a flag.
...
sync_build_test runs build_autotest that way.
archive_build bzips up the autotest artifacts.
run_remote_tests can run autotest artifacts from a prepackaged directory. Note that because build_platform is in a different repository than these other files, it's unfortunately forced to be reviewed separately in http://codereview.chromium.org/661197 and committed independently.
Review URL: http://codereview.chromium.org/660189
2010-02-26 17:33:51 -08:00
David McMahon
dc6cb96c79
Force --yes to mod_image_for_test.sh call. archive_build.sh runs non-interactive most of the time.
...
Review URL: http://codereview.chromium.org/661151
2010-02-25 18:22:29 -08:00
David McMahon
92c9e5258d
Pass --board along to mod_image_for_test.sh.
...
Review URL: http://codereview.chromium.org/652189
2010-02-23 16:48:34 -08:00
David McMahon
7c867169b7
Rework DEFAULT_FROM due to dependence on FLAGS_board.
...
Exit out if FLAGS_from doesn't exist.
Use FLAGS_from in place of DEFAULT_from later on.
Review URL: http://codereview.chromium.org/651079
2010-02-19 15:59:39 -08:00
David McMahon
4930294039
Fix archive_build.sh to work with new build using board subdirs.
...
Add some sane and useful defaults to common.sh for BOARDS.
Review URL: http://codereview.chromium.org/647053
2010-02-18 16:55:35 -08:00
Chris Sosa
a49e77f70b
Wrong command entered here. Need absolute path
...
Review URL: http://codereview.chromium.org/552058
2010-01-19 18:40:55 -08:00
Chris Sosa
8a09a05ef0
Modifies archived build to include a test image in the zip file
...
Review URL: http://codereview.chromium.org/542131
2010-01-19 16:05:36 -08:00
David McMahon
b059e344fc
Misc. fixes to versioning.
2009-12-08 18:12:28 -08:00
David McMahon
03aeb20079
Revert versioning to original (odd=trunk/dev, even=release) style.
...
Add handling for third type - continuous builds and (label) appropriately.
2009-12-08 16:30:21 -08:00
djmm@google.com
72cfa11d9b
Add an --official_build option to set CHROMEOS_OFFICIAL=1 (used by buildbot).
...
Review URL: http://chromereview.prom.corp.google.com/1188062
git-svn-id: svn://chrome-svn/chromeos/trunk@258 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-17 00:26:20 +00:00
djmm@google.com
7ba1563d79
Use git for "revision" if svn is unavailable.
...
Review URL: http://chromereview.prom.corp.google.com/1186033
git-svn-id: svn://chrome-svn/chromeos/trunk@219 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 00:00:16 +00:00
rspangler@google.com
d74220d772
Start copying over source.
...
git-svn-id: svn://chrome-svn/chromeos/trunk@4 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-09 20:56:14 +00:00