Set up an OS instance (real / virtual / whatever). Using Maverick for now. Based heavily on Google's Chrome docs but optimised here for simple cut and paste use.

$ export LC_ALL=C
$ sudo apt-get update
$ sudo apt-get install git subversion build-essential emacs23-nox
$ sudo mkdir /mnt/chromeos
$ sudo chown ubuntu: /mnt/chromeos
$ cd /mnt/chromeos
$ svn co http://src.chromium.org/svn/trunk/tools/depot_tools
$ export PATH=$PATH:$PWD/depot_tools
$ repo init -u http://git.chromium.org/git/manifest
$ repo sync
$ cd src/scripts/
$ ./make_chroot --chroot ../../chroot-x86
$ ./enter_chroot.sh --chroot ../../chroot-x86/
# <inside the chroot>
$ ./setup_board --board x86-generic
$ ./build_packages --board x86-generic
# <wait a long time>
$ ./build_image --board x86-generic --noenable_rootfs_verification 
# <wait a long time>
# Success!

Platform/Chrome/ChromeBuildSetup (last modified 2011-03-04 15:56:25)