Commit Graph

4103 Commits

Author SHA1 Message Date
David Moore
9d59051b65 Allow chronos user to renice back to 0
allow the chronos user to renice processes

Review URL: http://codereview.chromium.org/518049
2010-01-06 13:18:27 -08:00
David McMahon
1830686c8f Revert branch version change to 27. Back to 25. 2010-01-05 18:14:53 -08:00
David McMahon
4c117e4caa Merge branch 'master' of ssh://chromiumos-git/chromeos 2010-01-05 18:13:57 -08:00
David McMahon
83ee7bbbd1 Created branch 26. Update CHROMEOS_VERSION_BRANCH=27 2010-01-05 18:07:52 -08:00
Sean O'Connor
29ffbc3097 add script to drive setup and execution of autotest suites from dev environment
Review URL: http://codereview.chromium.org/502009
2010-01-05 15:33:28 -08:00
Colin Watson
8fe80a30e1 Build dh-chromeos
dh-chromeos was originally intended for use once we switch to
chromiumos-build, but it turns out that it would be useful to be able to
use it beforehand to correct some cross-build problems. Accordingly,
give it a make_pkg.sh file and add it to build_platform_packages.sh.

Review URL: http://codereview.chromium.org/525030
2010-01-05 20:37:35 +00:00
Sam Leffler
fae2db8c2d rename connman and move it to it's own repo
Review URL: http://codereview.chromium.org/525015
2010-01-04 16:06:33 -08:00
David McMahon
de3f4d64b4 Fix bug introduced by http://codereview.chromium.org/520004 in archive_build.sh step.
Review URL: http://codereview.chromium.org/525014
2010-01-04 15:30:13 -08:00
David McMahon
10bb453c0f Fix bug introduced by http://codereview.chromium.org/520004 in archive_build.sh step. 2010-01-04 15:22:21 -08:00
David McMahon
46607f063a Merge branch 'master' of ssh://chromiumos-git/chromeos 2010-01-04 15:17:05 -08:00
Daniel Erat
afc9c8d0b9 Make image_to_usb.sh warn if given a partition.
Review URL: http://codereview.chromium.org/522014
2009-12-27 17:55:29 -08:00
David McMahon
d2b224e41b Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-23 17:30:28 -08:00
tedbo
6fd336afe2 Moved debootstrap phase from build_image.sh to install_packages.sh.
This puts all package installation for the rootfs in one place. It
also makes it so that you can run install_packages.sh --root="foo"
outside of the build_image.sh script if you want to test something
without going through the full image build. With this change
build_image basically:
 - Sets up a loopback mounted rootfs
 - Calls install_packages.sh on rootfs
 - Calls customize_rootfs on rootfs
 - Makes the rootfs bootable

Review URL: http://codereview.chromium.org/520004
2009-12-23 15:59:37 -08:00
David McMahon
42cd589a18 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-23 14:37:32 -08:00
tedbo
551a0d0278 Fix issue where debconf was asking about the kernel config.
The chroot's apt.conf.d has a debconf file which tells apt
to run dpkg-preconfigure on all packages before installing.
We don't want to do this, especially with an automated build.
This CL changes the apt config used by install_packages.sh to
be self-contained and skip including the default configs by
using the APT_CONFIG evnironement variable.

The CL also cleans up some of the apt command lines as well
as getting rid of some ugly "$ROOT_FS_DIR/..".

Review URL: http://codereview.chromium.org/522003
2009-12-23 13:01:00 -08:00
David McMahon
f8b5b4bdf2 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-23 12:34:45 -08:00
Daniel Erat
54fd4a350f Make more build scripts barf when run as root.
Review URL: http://codereview.chromium.org/518004
2009-12-23 12:15:23 -08:00
Yusuke Sato
24f6456a2c Adding third_party/ibus-hangul/ to the Chromium OS build.
ibus-hangul provides an input method for Korean.

- third_party/ibus-hangul/libhangul_0.0.10-1.diff.gz
- third_party/ibus-hangul/libhangul_0.0.10.orig.tar.gz

These files are source package of libhangul for Ubuntu Lucid (10.04 LTS) at http://packages.ubuntu.com/en/lucid/libhangul0-data.
Since Karmic's libhangle (0.0.9) is too old to build ibus-hangul trunk, we'll build libhangul packages ourselves.

- third_party/ibus-hangul/make_pkg.sh

This script first builds and installs libhangul debian packages, then builds ibus-hangul.

- third_party/ibus-hangul/ibus-hangul_1.2.0.20090617-2.diff.gz

Copied from the Ubuntu Karmic's ibus-m17n package just like as third_party/clutter/clutter-1.0_1.0.4-0ubuntu1.diff.gz.

- third_party/ibus-hangul/ibus-hangul_remove_python_deps.diff

Patch for third_party/ibus-hangul/debian/rules which removes setup tools written in Python from the ibus-hangul debian package.

Review URL: http://codereview.chromium.org/501150
2009-12-24 00:29:21 +09:00
Yusuke Sato
fbf8a99ab7 Adding third_party/ibus-m17n/ to the Chromium OS build.
ibus-m17n provides input method engines for many languages such as Thai.

- third_party/ibus-m17n/make_pkg.sh

Copied from third_party/ibus-anthy/make_pkg.sh, then slightly modified.

- third_party/ibus-m17n/ibus-m17n_1.2.0.20090930-1.diff.gz

Copied from the Ubuntu Karmic's ibus-m17n package just like as third_party/clutter/clutter-1.0_1.0.4-0ubuntu1.diff.gz.

Review URL: http://codereview.chromium.org/502089
2009-12-23 23:42:12 +09:00
tedbo
2cfa925e59 Add --no-install-recommends when we install most of our components.
Given this we need to explicitly install xterm and lsof, but
otherwise it is a net reduction of about 45 packages, which is nice.

Review URL: http://codereview.chromium.org/515009
2009-12-22 21:44:28 -08:00
tedbo
4f3c95b241 Add a helper script to be able to run "apt-get install" without running
the maintainer scripts on installed packages.

I've experimented with using this in the install_packages.sh that
runs from outside the targetfs. It is able to extract packages and
make them appear to be installed (for the most part) without
running the maintainer scripts.

This will allow us to start figuring out what problems we will
have when we no longer run the maintainer scripts.

In the long run it would be nice to add an option to "dpkg" to
skip maintainer scripts.

Review URL: http://codereview.chromium.org/517004
2009-12-22 21:23:05 -08:00
tedbo
06c4dcf4c9 Change install_packages.sh to run from outside of the target rootfs
and install debs into the target rootfs.

This will still run the maintainer scripts, but it is a step in
the right direction to being able to create a cross-compiled image.
This will allow us to experiment with disabling the maintainer
scripts and attempt to get that working. It also makes it easier
to modify the install_packages script since it now has access to
shflags and the source tree properly.

This CL also cleans up stuff doing in build_image.sh to bind mount
the trunk into the target rootfs, set up packages for install there,
etc.

The next step is to experiment with disabling maintainer scripts.
One possible way to do that would be to put a shim in place of dpkg
so that when apt calls dpkg it install a package we call dpkg-deb
with a simple unpack instead. This would allow us to continue to
use the good nice features that apt provides.

Review URL: http://codereview.chromium.org/517003
2009-12-22 21:20:24 -08:00
Daniel Erat
4112bcd7f9 Clean up chromiumos-build build files and update .gitignore.
Review URL: http://codereview.chromium.org/516004
2009-12-22 18:22:01 -08:00
Ken Mixter
4d8e50a4de Create a method to push an image to a live running Chromium OS machine provided you have root ssh access with a local private key (which is the case for test builds). Updates the running instance and reboots it.
Review URL: http://codereview.chromium.org/512003
2009-12-22 17:24:49 -08:00
David McMahon
f811b83d02 Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-22 13:36:47 -08:00
David McMahon
eb8587c0b3 Use CHROMEOS_VERSION_PATCH=200912221142 for developer builds for use by the auto-updater.
Review URL: http://codereview.chromium.org/502102
2009-12-22 13:29:03 -08:00
David McMahon
7cb222469a Merge branch 'master' of ssh://chromiumos-git/chromeos 2009-12-22 13:28:53 -08:00
David McMahon
9052bb24ef Use CHROMEOS_VERSION_PATCH=200912221142 for developer builds for use by the auto-updater. 2009-12-22 11:42:57 -08:00
Colin Watson
15259901ed Configuration file for chromiumos-build
We aren't yet ready to use chromiumos-build, but this makes it easier to
experiment.

Review URL: http://codereview.chromium.org/507064
2009-12-22 00:28:32 +00:00
Alexey Marinichev
63c42aa811 Simplified counting CPUs.
Review URL: http://codereview.chromium.org/501153
2009-12-21 11:42:39 -08:00
tedbo
d3ab617757 Remove pybootchartgui since it messes up our repo.
The mirroring process for the internal package repository puts
all mirrored packages into "main" for some reason. Since the Karmic
version of pybootchartgui is in "universe", when we use the internal
repository of packages we need to reference it based on "universe".
However, the external repo will have it at "main". We can't have it
both ways, so we'll need to give up on pybootchartgui until after we
fix up the repo mirroing.

Review URL: http://codereview.chromium.org/509010
2009-12-21 11:06:04 -08:00
tedbo
e016b13fe5 Install pybootchartgui so that we can get boot chart pngs on the target machine
again.

Note: This change will require you to rebuild your repo.

Review URL: http://codereview.chromium.org/502083
2009-12-18 19:08:16 -08:00
tedbo
ab9885ab30 Add the default user to some groups (audio, video).
Review URL: http://codereview.chromium.org/501132
2009-12-18 18:18:58 -08:00
Ryan Cairns
bcdbd83e64 Fixes build_all.sh
Review URL: http://codereview.chromium.org/500146
2009-12-18 15:38:45 -08:00
Chris Masone
1ee4f8a6bc replace - with _ in name of emit-login-prompt-ready
I had to make this change on the chrome side because scons doesn't like -'s

Now I'm making it here to match

Review URL: http://codereview.chromium.org/504060
2009-12-18 12:41:27 -08:00
Daniel Erat
0906af3b83 Add missing quote to build_platform_packages.sh.
Broken by da86fbcb.

TBR=semenzato

Review URL: http://codereview.chromium.org/504055
2009-12-17 22:28:30 -08:00
Luigi Semenzato
e4eef52df7 Daemonize (fork()) and install metrics_daemon in the image for execution.
With this change ChromeOS begins to send metrics to the UMA server.

Review URL: http://codereview.chromium.org/500117
2009-12-17 18:06:39 -08:00
Tom Wai-Hong Tam
759ded1293 Build in patch in Chromium OS test image.
Compilebench in Autotest needs patch.

Review URL: http://codereview.chromium.org/500096
2009-12-18 10:01:01 +08:00
sky@chromium.org
0db88bcd55 Adds build infrastracture for Gtk theme.
Review URL: http://codereview.chromium.org/501086
2009-12-17 15:37:13 -08:00
Bill Richardson
d26b8abee2 Here's the upgrade-everything-to-Karmic change. As promised, some fairly
important things break.

Here are some of the more noticable problems:

* The Karmic xscreensaver is newer than ours, so we're pulling and invoking
  the upstream version instead. It will prompt you for the "chronos"
  password but it really wants the password you used to log in. Or hit
  CTRL-ALT-F2, log in with chronos and "killall xscreensaver".

* I had to bump the rootfs size from 950M to 1024M to make room for
  everything (most likely xscreensaver).

* WiFi isn't working. No clue why not.

* The list of packages installed on the run-time image are different, almost
  certainly due to changes in the upstream dependencies. That may or may not
  have anything to do with the known failures.

That said, if you use a wired internet connection, you can log in and browse
the web, suspend, etc. and it doesn't crash.

FWIW, upgrading to Karmic causes these packages to be removed from the
run-time image:

  acpi
  cron
  gcj-4.4-jre-lib
  gob2
  icedtea-6-jre-cacao
  libcloog-ppl0
  libclutter-0.9-0
  libgmpxx4ldbl
  libmysqlclient15off
  libpcsclite1
  libpolkit-gobject-1-0
  libppl-c2
  libppl7
  libreadline5
  python-pkg-resources
  python-setuptools
  swig
  wpasupplicant

These packages are added:

  arora
  dictionaries-common
  hdparm
  ibus
  ibus-anthy
  ibus-chewing
  ibus-gtk
  insserv
  libbsd0
  libc-bin
  libclutter-1.0-0
  libcroco3
  libdrm-radeon1
  libgsf-1-114
  libgsf-1-common
  libibus1
  libjpeg-progs
  libmysqlclient16
  libpolkit-gobject-1-0
  libreadline6
  librsvg2-2
  librsvg2-common
  libx86-1
  miscfiles
  mountall
  pm-utils
  powermgmt-base
  python-ibus
  python-rsvg
  radeontool
  sash
  vbetool
  xscreensaver
  xscreensaver-data
  xserver-xorg-core
  xserver-xorg-input-vmmouse
  xserver-xorg-video-intel

Review URL: http://codereview.chromium.org/501071
2009-12-17 11:15:41 -08:00
Bill Richardson
ff8b3d1338 Revert "Changes to support ARM cross compilation."
This reverts commit e61c324991b41ad40e86f5c557a91622d2845b9d.

There are many places where '/x86' is hard-coded into directory paths. All
those places need to be modified before we can change it in just one place.

See http://code.google.com/p/chromium-os/issues/detail?id=1085

Review URL: http://codereview.chromium.org/501066
2009-12-16 15:22:26 -08:00
tedbo
51ff488061 Build and install gptpart package. This is the locally built gpt program
for creating an managing GUID partition tables (GPT).

Review URL: http://codereview.chromium.org/501065
2009-12-16 14:52:00 -08:00
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