Commit Graph

22984 Commits

Author SHA1 Message Date
Chris Sosa
3d11629b01 Changes to enable dev in stateful partition for usb and startup
Review URL: http://codereview.chromium.org/848002
2010-03-11 15:30:38 -08:00
Antoine Labour
6a6518de1c autotest: don't wipe FEATURES when building
Review URL: http://codereview.chromium.org/866001
2010-03-11 12:01:34 -08:00
Darin Petkov
f84012077c Add a flag to fail if the tests fail to build. Off by default.
Review URL: http://codereview.chromium.org/804006
2010-03-11 10:39:00 -08:00
Andrew de los Reyes
8a8c32ec9b VMWare [1/2]: Fix vmware image generation.
Review URL: http://codereview.chromium.org/668215
2010-03-10 16:09:46 -08:00
Ken Mixter
7e41907f97 Fix minor problem with autotest permissions
When grabbing buildbot image and test artifacts, properly install the test artifacts as if they were built by the user (with the user as owner).

Review URL: http://codereview.chromium.org/703001
2010-03-08 19:37:52 -08:00
David McMahon
9bd43a1515 Update CHROMEOS_VERSION_MINOR=6 now for R6.
Review URL: http://codereview.chromium.org/669287
2010-03-08 11:06:32 -08:00
Chris Sosa
8cf12935c5 Cleanup and add open to push test image to usb
Review URL: http://codereview.chromium.org/668170
2010-03-05 11:22:07 -08:00
Eric Li
83b50104dd 1. the dev server running with python 2.6 now, not python.
2. I dont fully understand why we need sudo inside this script. So I am removing it. Since I could not enter sudo password inside crontab. Please let me know if I missed anything and I could revert.

Review URL: http://codereview.chromium.org/666002
2010-03-05 11:18:17 -08:00
Ken Mixter
a2c6844e2c learn board and print better status messages
Review URL: http://codereview.chromium.org/668036
2010-03-03 18:57:45 -08:00
Ken Mixter
55f65f8bc1 Support grabbing portage buildbot artifacts
Review URL: http://codereview.chromium.org/660381
2010-03-03 18:54:14 -08:00
David James
14fba2e3b0 Make --board mandatory in build_tests.sh. Also enable building with a default board.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/668015
2010-03-03 16:42:00 -08:00
tedbo
32303a95a1 Remove old build related scripts that are no longer needed.
Review URL: http://codereview.chromium.org/651062
2010-03-03 11:53:04 -08:00
David James
fe6426c692 Fix minor style nits missed in initial checkin of check_deps
Review URL: http://codereview.chromium.org/661415
2010-03-03 11:23:44 -08:00
Darin Petkov
8e3af0243c Don't build a binary package for autotest because we're not using it.
This saves almost 1 minute (out of 6) on my build host for the current full
build_autotest.sh. The savings will be more significant once the Chrome tests
(200MB+) also get into autotest.

Alternatively, we could still build the binary package and use it as part of
archive_build.sh (i.e., just copy it there instead of creating a new one).
But most people don't run archive_build so it may be better to not create
the binary package as part of build_autotest.sh.

Review URL: http://codereview.chromium.org/661473
2010-03-03 10:02:08 -08:00
David James
a17e946ebf Add test_image script for checking that dependencies in image are sane
Review URL: http://codereview.chromium.org/661239
2010-03-02 15:28:58 -08:00
David James
497900852d Update script for running unittests to work with new build system.
BUG=1725
TEST=yes

Review URL: http://codereview.chromium.org/660397
2010-03-02 13:17:44 -08:00
Mandeep Singh Baines
7c5fa53207 Add local account support to make.conf.user
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/660326
2010-03-01 20:06:08 -08:00
Darin Petkov
4e68893ee2 Unbreak the build.
Review URL: http://codereview.chromium.org/661259
2010-02-27 23:41:47 -08:00
David McMahon
5ba9f00cef Created branch release_36. Update CHROMEOS_VERSION_BRANCH=37 2010-02-26 22:56:43 -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
Chris Sosa
6b8f1cf53e Modify scripts to be more informative and add autox/autologin for build script
Review URL: http://codereview.chromium.org/661203
2010-02-26 14:33:52 -08:00
Darin Petkov
d6bf1010bd Add bash completion for flags for some build scripts.
For example, ./build_packages --<tab> will try to complete all supported
./build_packages flags (or print them if completion is non-unique).
This completion could be used outside chroot.

Review URL: http://codereview.chromium.org/661096
2010-02-26 13:10:11 -08:00
David McMahon
db606797cb Created branch release_34. Update CHROMEOS_VERSION_BRANCH=35 2010-02-26 09:23:25 -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
72a09d994d Created branch release_32. Update CHROMEOS_VERSION_BRANCH=33 2010-02-25 14:14:28 -08:00
Raiford Storey
e609f19d4a Updated image_to_vmware.sh to generate an VMware configuration file. This is useful for VMplayer.
BUG=None
Test=Run "vmplayer chromeos.vmx" on and verify that the VM boots.

Review URL: http://codereview.chromium.org/657027
2010-02-25 13:58:54 -05:00
Ken Mixter
89ae722a21 Fix problem with mod_image_for_test leaving dangling chroot ref
Review URL: http://codereview.chromium.org/661061
2010-02-24 19:15:14 -08:00
Eric Li
213f8958aa include netperf2 and netpipe into build_autotest.
Review URL: http://codereview.chromium.org/661044
2010-02-24 17:32:55 -08:00
Ken Mixter
cc48864bce Support renamed commands, remove non-portage build support, fix a minor mod_image_for_test bug. Tested with build_autotest, mift, image_to_usb, and image_to_live. Also not recreating the chroot unless it's missing or you pass --force_make_chroot as folks say that added dependencies in the chroot are handled currently during build_packages.
Review URL: http://codereview.chromium.org/650123
2010-02-24 15:27:30 -08:00
Darin Petkov
726d36686c Fix name and add board completion to mod_image_for_test.sh.
Review URL: http://codereview.chromium.org/659005
2010-02-24 12:05:18 -08:00
Darin Petkov
049dbab5bd Programmatic bash completion for Chromium OS build scripts.
If you source this script inside chroot, you would get <tab> completion for the --board= argument for some build scripts.

For example,
. bash_completion
./build_image --board=x<tab>
may complete to
./build_image --board=x86-generic
if x86-generic is the only available board starting with "x". If not, it will list available boards with the given prefix.

We could extend this to work with setup_board and other scripts. Also, it may be nice to extend it to work outside chroot.

Does it make sense to make this part of the regular dev chroot by default? If so, not sure what the best way to do that. Maybe install this as a hard-host-depends and source it from the chroot user .bashrc?

Review URL: http://codereview.chromium.org/652129
2010-02-23 18:16:37 -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
Chris Sosa
acada7387b Changes to use default board when set by setup_board
Review URL: http://codereview.chromium.org/656023
2010-02-23 15:20:03 -08:00
David McMahon
d185da4ee0 Add CHROME_* placeholders for setting official chrome versions for release builds.
Review URL: http://codereview.chromium.org/652098
2010-02-23 14:34:08 -08:00
Sam Leffler
a92ecd6718 fix finding overlays from the dev-server
Review URL: http://codereview.chromium.org/650182
2010-02-23 08:25:38 -08:00
Sam Leffler
9b14b47550 minor fixups to make this functional
- add --board option to find images
- prompt before clobbering image unless --yes option specified (a la image_to_usb)

Review URL: http://codereview.chromium.org/650181
2010-02-22 15:22:11 -08:00
Ryan Cairns
0c70b3902e Get rid of some scripts that are no longer used
Review URL: http://codereview.chromium.org/651083
2010-02-19 16:05:05 -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
tedbo
6a2c4c3365 Add symlinks to new build scripts. This obviates the need to run setup_source_tree.sh.
Review URL: http://codereview.chromium.org/650056
2010-02-19 14:54:50 -08:00
Ken Mixter
e320ae8c08 Make sync_build_test work with portage build.
Remove make_local_repo stage as it's not used by either build process.
Make portage build the default (--noportage still builds the old way).
Also add total time to build.  A run of sync_build_test without args
on my machine takes 2:20min.  Defaulting to --jobs=1 due to
instability reports.

Review URL: http://codereview.chromium.org/646015
2010-02-18 17:34:32 -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
Darin Petkov
49879bc938 This commit reverts accidental change to build_autotest.sh
ecee13e13945c7df79e397012054206cac6cb2f0 back to the previous revision.
This new file should be identical to the one at
ce18a0349a88ffbe01a2e88526aeb271b54dec60

Review URL: http://codereview.chromium.org/646057
2010-02-18 15:49:50 -08:00
Sam Leffler
7111b4f204 fixup autoupdate for new build system
- write board is to /etc/lsb-release
- send board id to omaha
- require board to find latest image

Review URL: http://codereview.chromium.org/633001
2010-02-18 09:58:42 -08:00
Chris Sosa
a221aab08c Adds changes to unittest scripts to use ebuild if board is specified
Review URL: http://codereview.chromium.org/614005
2010-02-17 16:38:21 -08:00
Ryan Cairns
58966860a3 removes most of the old build tools
Take another look, I kept build_tests and sync*.

Review URL: http://codereview.chromium.org/627003
2010-02-17 14:18:50 -08:00
Andrew de los Reyes
e8b6315eee enter_chroot: allow depot_tools to fail to mount
Review URL: http://codereview.chromium.org/601082
2010-02-16 14:18:34 -08:00
Eric Li
cbbb239570 Change run_remote_tests from portage build env.
Review URL: http://codereview.chromium.org/606054
2010-02-16 08:49:16 -08:00
Eric Li
944281ff8b Two major changes here:
1. work with the new portage build system. Yes, cross compiling works.

2. work with new upstream changes to build a single or a subset of site test which specified from command line.

I will update the how-to document after all code checked in.

Please also refer to change from 582012 which had been included here and 582012 will be abandoned after this CL checked in.

Review URL: http://codereview.chromium.org/596110
2010-02-15 12:00:58 -08:00
satorux
742b51bae5 Do not include chromeos/libcros.so in chrome-chromeos.zip.
The original pattern "chrome-chromeos/chrome*" was loose enough
to include "chromeos/libcros.so" if it's present. The file should
not be included in chrome-chromeos.zip file, which is used to build
the chromeos-chrome deb package, since libcros.so is provided by
the chromeos-libcros deb package.

I had "chromium/src/out/Release/chromeos/libcros.so" to run the
Chromium OS version of Chromium browser locally with libcros.so
enabled.

TEST=manually:
% cd ../build/x86/local_assets
% unzip -l chrome-chromeos.zip > before
... made this change ...
% cd ../build/x86/local_assets
unzip -l chrome-chromeos.zip > after
% diff -u before after
--- before       2010-01-22 13:53:39.361522119 +0900
+++ after        2010-01-22 13:54:52.117212719 +0900
@@ -2,8 +2,6 @@
   Length      Date    Time    Name
 ---------  ---------- -----   ----
  12584626  2010-01-22 13:46   chrome-chromeos/candidate_window
-        0  2010-01-22 13:13   chrome-chromeos/chromeos/
-   432316  2010-01-22 13:13   chrome-chromeos/chromeos/libcros.so
      4850  2009-12-09 15:37   chrome-chromeos/product_logo_48.png
     54594  2010-01-22 13:46   chrome-chromeos/session
         0  2010-01-18 11:52   chrome-chromeos/resources/
@@ -220,4 +218,4 @@
    127262  2010-01-21 14:05   chrome-chromeos/locales/ro.pak
    112422  2010-01-21 14:05   chrome-chromeos/locales/en-GB.pak
 ---------                     -------
- 66476904                     218 files
+ 66044588                     216 files

Review URL: http://codereview.chromium.org/552101
2010-02-15 15:01:55 +09:00
Andrew de los Reyes
c1e8d2728f enter_choot: fix breakage some people ran into
Review URL: http://codereview.chromium.org/593102
2010-02-13 12:39:21 -08:00