Commit Graph

1911 Commits

Author SHA1 Message Date
djmm@google.com
6ba3393116 Move the setting of CHROMEOS_VERSION_DESCRIPTION which uses CHROMEOS_REVISION out of chromeos_version.sh where it may not be set when called from archive_build.sh. Set it the only place it's used, in customize_rootfs.sh.
Review URL: http://chromereview.prom.corp.google.com/1187036

git-svn-id: svn://chrome-svn/chromeos/trunk@237 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 21:04:21 +00:00
tedbo@google.com
4393d5501e Remove USE_UBUNTU_KERNEL stuff.
Review URL: http://chromereview.prom.corp.google.com/1188039


git-svn-id: svn://chrome-svn/chromeos/trunk@235 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 19:22:30 +00:00
albertb@google.com
82275a3e16 Don't crash if the cookie pipe doesn't exist.
Review URL: http://chromereview.prom.corp.google.com/1187035

git-svn-id: svn://chrome-svn/chromeos/trunk@233 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 19:17:31 +00:00
wfrichar@google.com
8f72cbd775 Don't install Recommended packages, only required ones.
But, we still explictly require bootchart-java, to create the pretty picture.

Without explicitly adding bootchart-java, it removes these packages:

  bootchart-java
  ca-certificates-java
  default-jre-headless
  gcj-4.4-base
  gcj-4.4-jre
  gcj-4.4-jre-headless
  gcj-4.4-jre-lib
  gcj-jre
  gcj-jre-headless
  icedtea-6-jre-cacao
  java-common
  libcommons-cli-java
  libcommons-compress-java
  libcommons-lang-java
  libgcj-common
  libgcj10
  libgcj10-awt
  libjline-java
  liblcms1
  openjdk-6-jre-headless
  openjdk-6-jre-lib
  python-central
  rhino
  tzdata-java

By explicitly adding bootchart-java it removes only these packages:

  gcj-4.4-jre-lib
  icedtea-6-jre-cacao

Either way, bootchart still collects the data so it is possible to generate
the pictures remotely.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@225 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 02:18:53 +00:00
djmm@google.com
4c249eb20f Created branch 22. Update CHROMEOS_VERSION_BRANCH=23
git-svn-id: svn://chrome-svn/chromeos/trunk@222 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 00:28:56 +00:00
tedbo@google.com
23eef58c60 Add acpi pacakge for our acpi scripts.
This removes the acpi stuff from customize_rootfs and should make it easier
to do more acpi stuff in the future as needed. We still need to figure out
how to handle acpi across different devices.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@220 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-13 00:04:19 +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
rtc@google.com
b085577b4b Changes the build_all script so that it can be run from outside of the scripts directory
Review URL: http://chromereview.prom.corp.google.com/1186036

git-svn-id: svn://chrome-svn/chromeos/trunk@218 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 20:23:33 +00:00
msb@google.com
5c1c3b836d Fix build breakage.
Fixes the following error:

rm: cannot remove `/home/chrome-bot/trunk/src/build/x86/local_packages/linux-image-*.deb': No such file or directory

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

git-svn-id: svn://chrome-svn/chromeos/trunk@215 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 19:11:00 +00:00
msb@google.com
64b6dc8db1 kernel: move config into kernel git repo
Already moved config into the kernel git repo. This change fixes the
build to use the config which is in the kernel and removes the configs
in the chromeos repo.

Also removed a lot of the kernel version hard-coding that is in the build.

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

git-svn-id: svn://chrome-svn/chromeos/trunk@214 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 18:36:19 +00:00
tedbo@google.com
45ffc9a3de Some customize_rootfs cleanup.
Review URL: http://chromereview.prom.corp.google.com/1186028


git-svn-id: svn://chrome-svn/chromeos/trunk@213 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 03:39:50 +00:00
tedbo@google.com
b35803f10c Simplify X session startup. This CL skips the typical Xsession
stuff that parses a bunch of files in favor of just starting
our session script under a console-kit session. We don't need
any of the typical Xsession start stuff and this is simpler to
understand. Since we don't use Xsession.d, we no longer need
to delete certain files from that directory.

The CL also has the login_manager package install our own slim.conf
so that we don't need to be modifying the default one using sed
from customize_rootfs and the login_manager maintainer scripts.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@209 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 01:43:08 +00:00
rtc@google.com
ab63574c0e Adds build functionality to the dev server.
A few changes here. 

1. A simple webui for building packages in the source tree. 
2. A shell script that you can run on your netbook to kick of a build of a given package, download the result, and install it. 
3. Refactored update/build functionality into classes so that the build env paths can be shared. 
4. devkit.sh downloads an upsatart task that starts ssh at boot time.

More info in the dev server manual - 
https://docs.google.com/a/google.com/Doc?docid=0AT6qlIKi36JQY2M1Y3B2bWNfMTZkems5eGducg&hl=en

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

git-svn-id: svn://chrome-svn/chromeos/trunk@207 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-12 00:52:08 +00:00
msb@google.com
b79616b77e syslinux: migrate to using a git repo
Review URL: http://chromereview.prom.corp.google.com/1186020

git-svn-id: svn://chrome-svn/chromeos/trunk@205 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-11 23:04:42 +00:00
dhg@google.com
e62feb6d18 Changing the rootfs so that devicekit-disks can create an sqllite table it needs to be able to mount things
Review URL: http://chromereview.prom.corp.google.com/1182001

git-svn-id: svn://chrome-svn/chromeos/trunk@201 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-11 02:11:45 +00:00
skrul@google.com
cadf7da18e Script to send credentials into the cookie pipe, emulating the login manager. This was previously reviewed but checked into the wrong repo.
Review URL: http://chromereview.prom.corp.google.com/1187016

git-svn-id: svn://chrome-svn/chromeos/trunk@196 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-10 00:46:45 +00:00
chocobo@google.com
8bfff9e9d0 Make build script build Chrome instead of Chromium.
Review URL: http://chromereview.prom.corp.google.com/1186013

git-svn-id: svn://chrome-svn/chromeos/trunk@193 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-09 23:49:10 +00:00
rtc@google.com
9ebf71a8ed Stop connecting to googleguest at boot.
We should no longer try to connect to googleguest or another open network at boot time. First time users will need to connect via ethernet to log into the machine. Once a user has logged in for the first time they will be able to login without network connectivty. Also, Connman will automatically connect to any available networks that the user has connected to in the past. 

The long term solution for first time usage is to put the network picker in the login UI. 


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

git-svn-id: svn://chrome-svn/chromeos/trunk@191 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-09 23:07:31 +00:00
cmasone@google.com
631ec89d36 netowork interfaces need to be kept up until the _end_ of customize_rootfs.sh
Review URL: http://chromereview.prom.corp.google.com/1187003


git-svn-id: svn://chrome-svn/chromeos/trunk@180 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-06 21:06:56 +00:00
tedbo@google.com
74a4e3d3cb Fix usb boot issue for the case where usb does not appear as sdb.
We had a bug where we were unable to boot a device where the usb
drive appeared as sdc. This is because it was using our fixed set
of devices needed to start X rather than re-using the devices
that are created in the initrd. This fixes that to re-use the
devices created by udev if we have an initramfs.

This CL also fixes a reboot bug.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@174 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-06 01:02:10 +00:00
tedbo@google.com
cc9a75cffb [shutdown]: Make shutdown faster.
This CL changes the shutdown sequence to be more upstartified.
We switch from using the stock shutdown scripts to a custom
sequence that basically terminates chrome cleanly and then kills
all processes that hold open files on our stateful partition and
crypto-home so that we can unmount them cleanly and shutdown.

The change adds a ui.conf upstart job that lets upstart track
the login manager. Starting the ui will start the login manager
and enable a graphical session; stopping the ui will cleanly
kill chrome and then tear down the graphical session.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@169 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-05 22:10:56 +00:00
tedbo@google.com
9108fb4376 [boot]: Changes to upstartify more of our init scripts.
This changes many of our upstart jobs to use upstart
properly rather than just running the corresponding
scripts in /etc/init.d. The init.d scripts all pull in
helper functions, etc that are mostly unused. These
changes typically go from using many subshells to start
a daemon to a single exec of the daemon with proper
tracking by upstart. Most of these jobs are not in
the critical boot path, but we should still keep them
as optimized as possible.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@164 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-05 00:34:38 +00:00
seanparent@google.com
46aee000d7 Missed this file - minor cleanup.
Review URL: http://chromereview.prom.corp.google.com/1180057

git-svn-id: svn://chrome-svn/chromeos/trunk@163 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-04 23:10:10 +00:00
seanparent@google.com
59a33b64a0 Removed old base and glog, added DEP for chrome/base, cleaned up usage of
namespaces, minor build speed up using -j option for more scons.

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

git-svn-id: svn://chrome-svn/chromeos/trunk@160 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-04 21:04:51 +00:00
adlr@google.com
83bcbe4507 build_image: mount root read-only on USB.
I think read-only is the default, but this makes it explicit.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@159 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-04 21:00:59 +00:00
tedbo@google.com
182c45ee72 Enable image_to_usb to be run from outside the scripts directory.
Review URL: http://chromereview.prom.corp.google.com/1180043


git-svn-id: svn://chrome-svn/chromeos/trunk@154 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-04 03:23:20 +00:00
msb@google.com
3bfc11f2fe Move patches into kernel git tree.
The change for adding the patches to the kernel git tree:

http://chromereview.prom.corp.google.com/1180039

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

git-svn-id: svn://chrome-svn/chromeos/trunk@152 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-03 22:30:10 +00:00
chocobo@google.com
0881d25bf1 Fix build_chrome script to only package up the files that we need. This makes the chrome build much smaller.
Review URL: http://chromereview.prom.corp.google.com/1179031

git-svn-id: svn://chrome-svn/chromeos/trunk@150 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-03 18:23:32 +00:00
djmm@google.com
9025b0aef1 When echo'ing environment from env, check beginning of line to exclude occurences that appear within function definitions.
Review URL: http://chromereview.prom.corp.google.com/1180037

git-svn-id: svn://chrome-svn/chromeos/trunk@145 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-03 01:01:31 +00:00
rtc@google.com
e69130c23a Fixes the function syntax so that chromeos version executes correctly in the chroot.
Review URL: http://chromereview.prom.corp.google.com/1179022

git-svn-id: svn://chrome-svn/chromeos/trunk@143 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-02 22:10:33 +00:00
sleffler@google.com
e448ba3021 Add support for building from a pre-patched kernel src tree (e.g. pulled
from git); to enable set KERNEL_VERSION in your environment to the
directory name (e.g. 2.6.31-chromeos-intel-menlow) otherwise default to
the existing kernel build mechanism

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

git-svn-id: svn://chrome-svn/chromeos/trunk@142 06c00378-0e64-4dae-be16-12b19f9950a1
2009-11-02 21:04:52 +00:00
ericli@google.com
6f2c33649e remove a script which has no x bit and add a new one.
The previous CL r137 did not make the trick.

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

git-svn-id: svn://chrome-svn/chromeos/trunk@138 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-30 20:06:45 +00:00
ericli@google.com
bf39181430 Change the x bit for the shell script.
Review URL: http://chromereview.prom.corp.google.com/1180025

git-svn-id: svn://chrome-svn/chromeos/trunk@137 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-30 16:32:31 +00:00
chocobo@google.com
0a7bdacb3e Modify build_chrome script to build using make.
Review URL: http://chromereview.prom.corp.google.com/1179017

git-svn-id: svn://chrome-svn/chromeos/trunk@133 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-30 01:26:25 +00:00
adlr@google.com
3ca5eb88a9 xkb: allow it to write to /var/lib/xkb
Long term (when we are compiling the xkb) package, we should put this
change in that package. For now, we create a symlink from /var/lib/xkb
to /var/tmp in customize_rootfs.sh

tedbo@ found the solution. I just did the CL

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


git-svn-id: svn://chrome-svn/chromeos/trunk@124 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-29 21:25:46 +00:00
drewry@google.com
fc13bc2353 Only use pam_mount for slim-based logins. Everything else should avoid touching cryptohome.
Review URL: http://chromereview.prom.corp.google.com/1180003


git-svn-id: svn://chrome-svn/chromeos/trunk@122 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-29 14:46:00 +00:00
adlr@google.com
b3e0d3f9be postinst: don't edit fstab
Review URL: http://chromereview.prom.corp.google.com/1181005

git-svn-id: svn://chrome-svn/chromeos/trunk@120 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-29 02:45:10 +00:00
adlr@google.com
edabc59e31 vmware images: fix to match image_to_usb changes
Review URL: http://chromereview.prom.corp.google.com/1181003


git-svn-id: svn://chrome-svn/chromeos/trunk@115 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-29 00:29:45 +00:00
djmm@google.com
a1f68e470a Created branch 20. Update CHROMEOS_VERSION_BRANCH=21
git-svn-id: svn://chrome-svn/chromeos/trunk@114 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-29 00:25:17 +00:00
rspangler@google.com
abc0121daf Remove accidentally checked in files.
git-svn-id: svn://chrome-svn/chromeos/trunk@110 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-28 22:10:10 +00:00
adlr@google.com
1c98ef4e44 Fix image_to_usb.sh, build_image.sh
image_to_usb.sh didn't handle the case where the devices were being
automounted.

build_image.sh didn't handle the case where the version string > ~14
characters.

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

git-svn-id: svn://chrome-svn/chromeos/trunk@108 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-28 00:00:13 +00:00
sosa@google.com
e0841e376c Adds small monitor reconfigure program that reconfigures a monitor to use the max notebook resolution (and fills rest with black)
Review URL: http://chromereview.prom.corp.google.com/1178020

git-svn-id: svn://chrome-svn/chromeos/trunk@95 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-27 01:29:07 +00:00
rtc@google.com
c3cfe2cccd Don't sudo in mk_memento_images.sh
Review URL: http://chromereview.prom.corp.google.com/1178018

git-svn-id: svn://chrome-svn/chromeos/trunk@93 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-26 22:58:45 +00:00
rtc@google.com
d26178fa7e Adds a local Autoupdate server and a mechanism for adding developer packages.
I've been getting frustrated by juggling usb sticks to constantly update my netbook so I wrote a simple
server that can run in a developer's source tree and serve updates to a netbook. I also added an upstart
task that will download a script from the dev server and run it. I use this to install sshfs, gdb, and vim.

Here's a quick heads up about what has changed. 

1. /etc/lsb-release

I added two new fields to the release file. One is the URL that should be pinged for updates. The other is the URL that can be used to download a developer setup script. 

2. chromeos_version.sh

The functionality for the release build is unchanged, however, developer builds now have a monotonically increasing version number. 

3. software-update.conf

Autoupdate is disabled when the DEV_SERVER field in /etc/lsb-release is initialized. This field won't be set on the build server, but will be set everywhere else. 

4. ping_omaha.sh

The omaha server is now configured by /etc/lsb-release

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

git-svn-id: svn://chrome-svn/chromeos/trunk@92 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-26 22:36:21 +00:00
ericli@google.com
66c440d687 Add scripts to modify a rootfs.image for testability.
Review URL: http://chromereview.prom.corp.google.com/1177024

git-svn-id: svn://chrome-svn/chromeos/trunk@91 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-26 21:40:12 +00:00
djmm@google.com
2b93e5faf1 Created branch 18. Update CHROMEOS_VERSION_BRANCH=19
git-svn-id: svn://chrome-svn/chromeos/trunk@89 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-26 19:35:57 +00:00
adlr@google.com
9cb9e73b2f Install: read-only USB, resizable sys partitions
USB image:
- have a stateful partition
- use a read-only system partition

Installer:
- copy read-only system partition from USB to hard drive, skip fsck check
- make stateful partition empty

System:
- Change to tolerate empty stateful partition on bootup
- Don't keep so much of /var on stateful partition (var/lib should be in system
image)

Autoupdate:
- Fix a couple checks to allow partitions 3 and 4 to be system partitions
- Fix a misnomer in mk_memento_images.sh

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

git-svn-id: svn://chrome-svn/chromeos/trunk@87 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-26 18:29:06 +00:00
msb@google.com
477d139886 Move kernel over to git.
We are using the same sources as what is in the tarball. Just that they
are now in git. Copying the kernel tree over to the build dir for now.
Will eventually modify it so that we build from the src directory into
the build directory.

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

git-svn-id: svn://chrome-svn/chromeos/trunk@81 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-23 01:45:08 +00:00
chocobo@google.com
d8b3c3a8e6 Add synaptics synclient source code and expose it via libcros to Chrome.
Review URL: http://chromereview.prom.corp.google.com/1176064

git-svn-id: svn://chrome-svn/chromeos/trunk@75 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-21 19:47:06 +00:00
rspangler@google.com
c9c9d5f2fa Move clearing resolv.conf and interfaces to last, so that they don't
interfere with installing additional pacakages using --pkglist2.

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

git-svn-id: svn://chrome-svn/chromeos/trunk@70 06c00378-0e64-4dae-be16-12b19f9950a1
2009-10-19 22:12:35 +00:00