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
Fix script to correctly figure out the static directory.
Review URL: http://chromereview.prom.corp.google.com/1178030

git-svn-id: svn://chrome-svn/chromeos/trunk@107 06c00378-0e64-4dae-be16-12b19f9950a1
Fixing dev server to get the real path, not just /
Review URL: http://chromereview.prom.corp.google.com/1179002

git-svn-id: svn://chrome-svn/chromeos/trunk@112 06c00378-0e64-4dae-be16-12b19f9950a1
devkit: create needed dirs for apt if they're not there.

starting the devkit upstart job can fail if two dirs that apt seems to
need aren't there.  This makes the script create them.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@139 06c00378-0e64-4dae-be16-12b19f9950a1
Adds a few fixes for the dev server and refactors the update logic into a class. 
Review URL: http://chromereview.prom.corp.google.com/1180044

git-svn-id: svn://chrome-svn/chromeos/trunk@156 06c00378-0e64-4dae-be16-12b19f9950a1
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
Fix buildutil regex

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

git-svn-id: svn://chrome-svn/chromeos/trunk@230 06c00378-0e64-4dae-be16-12b19f9950a1
Autotest packaging changes.

1. Autotest is now installed in /usr/loca/autotest
2. We only install the client
3. system tests are updated to reflect the change.
4. added an example test case
5. added a couple fixes to the dev server
6. Moved the debian packaging for the system tests one level up in the hierarchy so we can have systems/ instead of systemtests/site_tests/

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

git-svn-id: svn://chrome-svn/chromeos/trunk@236 06c00378-0e64-4dae-be16-12b19f9950a1
Sort packages in devserver page.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@240 06c00378-0e64-4dae-be16-12b19f9950a1
Fix buildutil bug.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@244 06c00378-0e64-4dae-be16-12b19f9950a1
Devkit: split out developer customization.

This way, a user can create their own devkit-custom.sh file,
optionally based on the template supplied. Creating/editing this file
will not cause any files in the source tree to be edited, thus an
individual developer's changes will not easily be accidentally checked
in. It also makes it easier to keep the same devkit-custom.sh file
around when switching git branches.

Developers should not, in general, have to edit devkit.sh.

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


git-svn-id: svn://chrome-svn/chromeos/trunk@281 06c00378-0e64-4dae-be16-12b19f9950a1
Add script that starts the dev server after making sure we are under chroot.

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

git-svn-id: svn://chrome-svn/chromeos/trunk@299 06c00378-0e64-4dae-be16-12b19f9950a1
add -f option to force a client update

Review URL: http://codereview.chromium.org/503088
fix dev server build of certain packages

cd to package directory before invoking make_pkg.sh--a la
build_platform_packages; this fixes building packages that assume
make_pkg.sh is run in the top-level dir

Review URL: http://codereview.chromium.org/516012
Adds support for autoupdating portage with portage images

Review URL: http://codereview.chromium.org/574020
Removes some obsolete devkit related files

Review URL: http://codereview.chromium.org/628007
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
Fix autoupdate to be backwards compatible with previous releases.
If the "board" attribute is not set, then assume "x86-generic"

Review URL: http://codereview.chromium.org/661005
First version of the new devserver client

Review URL: http://codereview.chromium.org/661447
Allow -n no build option and allow ~x86

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