Commit Graph

1911 Commits

Author SHA1 Message Date
tedbo
9db99b88c1 Modify customize_rootfs.sh to run outside of the target rootfs and to use
only host-based tools. This is a requirement in order to be able to build
a cross-compiled image where the target rootfs is a different arch than
the host.

Review URL: http://codereview.chromium.org/500014
2009-12-16 13:27:31 -08:00
Gaurav Shah
962d1ec49a Add a script for creating a VirtualBox image.
Issue 1027 (http://code.google.com/p/chromium-os/issues/detail?id=1027)

Review URL: http://codereview.chromium.org/502014
2009-12-15 15:44:07 -08:00
Brian Daugherty
a86aa9cce9 Changes to support ARM cross compilation.
Added a flag to allow verbose make-kpkg and a flag to specify the
cross compile tools.

Changed the default output_root to use ARCH in the path.

Modified determination of ARCH and changed ARCH=arm to the more correct
ARCH=armel. Also set KPKG_ARCH=arm for compliance with kernel makefile.

Disabled the setarch command when it fails and instead alias uname to
echo ARCH.

A call to compile for arm will look like:
./build_kernel.sh --config=path/to/config --cross_compile=arm-linux-gnueabi- \
[--verbose]

Review URL: http://codereview.chromium.org/501019
2009-12-15 14:32:32 -07:00
Bill Richardson
a809f10fc6 Add ARM cross-compiler to chroot.
This adds the ARM cross-compiler toolchain to the build chroot environment,
so we can start trying to compile things for ARM.

There's also a minor change to make_local_repo.sh and make_chroot.sh to
allow a second repository source. This is needed only for bootstrapping this
change (and others like it), and not required for normal use.

Review URL: http://codereview.chromium.org/507005
2009-12-15 09:08:10 -08:00
Daniel Erat
f82415dd5e wm: Include breakpad.
We just write minidumps to /home/chronos for now -- I'm
deferring agreeing on a central location for them and
actually uploading them for later.

BUG=47

Review URL: http://codereview.chromium.org/495008
2009-12-14 13:11:36 -08:00
Bill Richardson
a08cfc57f8 Build and Install the chromiumos-build tool in the chroot
Review URL: http://codereview.chromium.org/491014
2009-12-10 14:16:06 -08:00
Sean O'Connor
1b2e9a4bca remove trailing whitespace in mod_for_test script (grr, rietveld.)
Review URL: http://codereview.chromium.org/492010
2009-12-10 14:05:20 -08:00
Sean O'Connor
c72b190ad8 create standard ssh keys for root in test-modified images
Review URL: http://codereview.chromium.org/487002
2009-12-10 13:14:59 -08:00
Will Drewry
0023873422 Overhaul microbenchmark so that it can be pulled in easily by any package
This follows the model set by gtest_main.a and adds a microbenchmark_main.a
which can be pulled in by any package to do quick microbenchmarking of any of
the functions in their tree.

This change also includes updates to minijail as an example usage of the microbenchmark code.

Last but not least, I fixed a copy and paste error in the copyright and a
missing comma in the output as well as updated some comments.

Review URL: http://codereview.chromium.org/492005
2009-12-10 12:31:47 -08:00
Chris Masone
69813668b1 make cryptohome check a magic file to discern between chrome-login and slim-login
Also, thanks to the magic of git, this CL also includes an edit to pull the chrome-login support binaries into the chromeos-chrome package.

Review URL: http://codereview.chromium.org/490001
2009-12-10 11:17:18 -08:00
David McMahon
857dbb59c0 Add --official_build option, and skip checking HEAD against origin/HEAD for official builds.
Review URL: http://codereview.chromium.org/486002
2009-12-09 18:21:05 -08:00
Andrew de los Reyes
0265e49f47 Fonts: add DejaVu, AbyssinicaSIL
Legal signed off on these fonts, which are Ubuntu packages ttf-dejavu,
ttf-sil-abyssinica.

Review URL: http://codereview.chromium.org/465144
2009-12-09 16:35:22 -08:00
David McMahon
53c74c9d74 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-09 16:06:23 -08:00
David McMahon
98bccaf8f1 Deal with empty build_number in archive_build.sh.
Set and pass-thru REAL_USER for use in chroots.
Remove extraneous CHROMEOS_VERSION_* settings from chromeos_version.sh.

Review URL: http://codereview.chromium.org/471008
2009-12-09 10:44:45 -08:00
David McMahon
20c39616b0 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-09 10:43:11 -08:00
Bill Richardson
ea16938abe fix typo in comment
Review URL: http://codereview.chromium.org/477001
2009-12-09 08:42:56 -08:00
David McMahon
9c8a14021d Created branch 24. Update CHROMEOS_VERSION_BRANCH=25 2009-12-08 18:41:07 -08:00
David McMahon
b059e344fc Misc. fixes to versioning. 2009-12-08 18:12:28 -08:00
David McMahon
63adf95938 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-08 17:03:25 -08:00
David McMahon
fc23824e2b Split Continuous/User build and provide useful version information for continuous builder
Review URL: http://codereview.chromium.org/460118
2009-12-08 16:31:45 -08:00
David McMahon
86694aa35e Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-08 16:31:30 -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
Chris Sosa
fe9f9768b7 Changes to include metrics collection package in system and no-op script customizable by overlay
Review URL: http://codereview.chromium.org/465131
2009-12-08 15:52:14 -08:00
David McMahon
e90dbc8e59 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-07 17:01:53 -08:00
Will Drewry
8bbf602bac Add build and package support to minijail
Packaging:
- Adds packaging for minijail
- Adds support for building minijail in the chroot (libcap-dev)
- Fixes libcap2 versioning to be compatible with libcap-dev in the repo
- Build minijail as part of the platform packages
Code:
- Fixed an initialization check bug in minijail and unittests

Review URL: http://codereview.chromium.org/465106
2009-12-07 15:50:16 -08:00
kmixter@google.com
1528403974 By default use the most recently built image when modifying an image for test.
Review URL: http://codereview.chromium.org/462043

git-svn-id: svn://chrome-svn/chromeos/trunk@344 06c00378-0e64-4dae-be16-12b19f9950a1
2009-12-07 23:11:44 +00:00
David McMahon
0ba0635620 Split Continuous/User build and provide useful version information for continuous builder 2009-12-07 12:41:42 -08:00
cmasone@google.com
f2e1e52b25 chromeos now == toolkit_views
Review URL: http://codereview.chromium.org/465071

git-svn-id: svn://chrome-svn/chromeos/trunk@337 06c00378-0e64-4dae-be16-12b19f9950a1
2009-12-04 22:22:44 +00:00
yusukes@google.com
34b9d1c988 Build IBus packages.
- scripts/build_platform_packages.sh

Run third_party/{ibus, ibus-chewing, ibus-anthy}/make_pkg.sh scripts in order to create IBus debian packages.

- third_party/ibus/make_pkg.sh
- third_party/ibus-chewing/make_pkg.sh
- third_party/ibus-anthy/make_pkg.sh

New files.

- third_party/ibus-chewing/ibus-chewing_1.2.0.20090818-2.diff.gz
- third_party/ibus-anthy/ibus-anthy_1.2.0.20090813-2.diff.gz

New files. These patch files create debian/ directories under third_party/ibus-chewing/ and third_party/ibus-anthy/ respectively.
These files are copied from Ubuntu Karmic's deb source packages, just like third_party/clutter/clutter-1.0_1.0.4-0ubuntu1.diff.gz (I believe it's okay, but let me double-check).

- package_repo/package-list-prod.txt
- package_repo/repo_list_image.txt

Add IBus packages to the rootfs image.

- package_repo/package-list-dev.txt

Add debian packages that are necessary to build IBus packages. Please note that autopoint script in gettext package requires cvs for unknown reasons.

- package_repo/repo_list_dev.txt

* IBus code requires slightly newer version of Gtk+/Glib. Upgraded them from 2.17.2-0ubuntu2 to 2.17.7-0ubuntu3 (Gtk+), from 2.21.2-0ubuntu1 to 2.21.4-0ubuntu1 (Glib).
* cmake-data depends on emacsen-common and update-indetd.
* python-gobject-dev depends on libffi-dev.
* python2.6-dev is required, but python2.6-dev_2.6.2-0ubuntu2 is not available on Ubuntu (I don't know why). Therefore, upgraded all python2.6* packages from 2.6.2-0ubuntu2 to 2.6.2-0ubuntu3.

Review URL: http://codereview.chromium.org/434033

Review URL: http://codereview.chromium.org/444016

git-svn-id: svn://chrome-svn/chromeos/trunk@325 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-27 02:16:49 +00:00
msb@google.com
92f79bfd74 build: cleanup kernel build
* Remove deb patch support
* Fix --config to actually work
* Other cleanup

Review URL: http://codereview.chromium.org/436043

git-svn-id: svn://chrome-svn/chromeos/trunk@321 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-25 05:40:09 +00:00
sosa@google.com
07fe79d41c Add change to enable getting safe build of chrome
Review URL: http://codereview.chromium.org/436035

git-svn-id: svn://chrome-svn/chromeos/trunk@318 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-25 01:26:05 +00:00
djmm@google.com
cc4f826f05 Update post-open-source release from 4->5.
git-svn-id: svn://chrome-svn/chromeos/trunk@313 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-24 18:13:05 +00:00
scherkus@google.com
588da2dc8b Turn NUM_JOBS into an overridable flag for distcc builds.
BUG=n/a
TEST=n/a

Review URL: http://codereview.chromium.org/425012


git-svn-id: svn://chrome-svn/chromeos/trunk@308 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-23 22:06:28 +00:00
derat@google.com
5fc3fcf15e build: Make make_chroot and make_local_repo fail when run as root.
Still seeing some bugs get filed related to this.  I went through
all of the scripts, but let me know if I missed any.

Review URL: http://codereview.chromium.org/432002

git-svn-id: svn://chrome-svn/chromeos/trunk@306 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-23 16:33:38 +00:00
derat@google.com
4e7a92bd48 build: Update build_image.sh for non-~/chromeos setups.
BUG=659

Review URL: http://codereview.chromium.org/431001

git-svn-id: svn://chrome-svn/chromeos/trunk@305 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-21 23:44:14 +00:00
derat@google.com
86dcc8e68b build: Make enter_chroot.sh fail if run as root.
BUG=684

Review URL: http://codereview.chromium.org/429006

git-svn-id: svn://chrome-svn/chromeos/trunk@304 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-21 19:49:49 +00:00
derat@google.com
a9948c6336 build: Update fontconfig to fall back on Droid.
This fixes monospace fonts in Chrome.  This change also
moves some static files out of customize_rootfs.sh.

BUG=237

Review URL: http://codereview.chromium.org/424011

git-svn-id: svn://chrome-svn/chromeos/trunk@303 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-21 18:01:05 +00:00
tedbo@google.com
c0c8c69143 Split out installation of packages from customize_rootfs into a separate script.
The build_image script now calls install_packages.sh followed
by customize_rootfs.sh.

The current system installs packages and performs customization
fixups from within the rootfs it is building. In order to
cross-build properly we'll need to do these steps from outside
of the root. Splitting package installation and rootfs customization
will make it easier to do this. A follow-on change will modify
customize_rootfs to run from outside of the rootfs.

Review URL: http://codereview.chromium.org/414051

git-svn-id: svn://chrome-svn/chromeos/trunk@300 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-20 22:15:58 +00:00
kwaters@google.com
5db44aa611 Add fio based autotest cases.
- Rev chromeos-systemtests, and add fio as a dependency.
- Add fio into the image during mod_image_for_test.sh

Review URL: http://chromereview.prom.corp.google.com/1180028

git-svn-id: svn://chrome-svn/chromeos/trunk@297 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-19 22:31:21 +00:00
sosa@google.com
d8797c3e4d Remove chrome branding
Review URL: http://chromereview.prom.corp.google.com/1187091

git-svn-id: svn://chrome-svn/chromeos/trunk@288 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-19 01:58:22 +00:00
seanparent@google.com
b8b373e187 Start of script for entering tracker reports.
Review URL: http://chromereview.prom.corp.google.com/1188074

git-svn-id: svn://chrome-svn/chromeos/trunk@283 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-18 23:35:51 +00:00
djmm@google.com
dbeea200b4 Mask error if nothing to DEFAULT_FROM.
Review URL: http://chromereview.prom.corp.google.com/1188077


git-svn-id: svn://chrome-svn/chromeos/trunk@275 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-18 02:43:30 +00:00
tedbo@google.com
afab3ca65c Workaround the fact that Ubuntu packages want to install
their own init script in /etc/init.

This changes the chromeos-init package to install our
init scripts in /etc/init.chromeos. In the customize_rootfs
stage we remove /etc/init and replace with our init scripts.

Review URL: http://chromereview.prom.corp.google.com/1187069


git-svn-id: svn://chrome-svn/chromeos/trunk@264 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-17 18:14:36 +00: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
rtc@google.com
d172735c1f Removes the old chromeos-wifi package
Review URL: http://chromereview.prom.corp.google.com/1187065

git-svn-id: svn://chrome-svn/chromeos/trunk@257 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-16 23:20:42 +00:00
djmm@google.com
42ac48c9aa Update CHROMEOS_VERSION_MINOR=4 and CHROMEOS_VERSION_CODENAME="".
Review URL: http://chromereview.prom.corp.google.com/1188057

git-svn-id: svn://chrome-svn/chromeos/trunk@256 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-16 23:08:37 +00:00
djmm@google.com
8b4ec454ed Just send all CHROMEOS_ vars to the var script.
Review URL: http://chromereview.prom.corp.google.com/1188056

git-svn-id: svn://chrome-svn/chromeos/trunk@255 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-16 23:08:29 +00:00
tedbo@google.com
51390cc378 Since postinst is part of installer, the software updater
should depend on the installer package.

Move postinst out of customize_rootfs and into the installer
package (at least for now).

Review URL: http://chromereview.prom.corp.google.com/1187059


git-svn-id: svn://chrome-svn/chromeos/trunk@252 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-16 19:09:06 +00:00
djmm@google.com
6e216c19eb Make sure we're passing CHROMEOS_REVISION through to customized rootfs.
Review URL: http://chromereview.prom.corp.google.com/1187047

git-svn-id: svn://chrome-svn/chromeos/trunk@241 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 23:54:41 +00:00
msb@google.com
843e9a3cf1 Fix typo
Review URL: http://chromereview.prom.corp.google.com/1187046

git-svn-id: svn://chrome-svn/chromeos/trunk@239 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 22:31:50 +00:00