ostree/gnomeos/yocto
Colin Walters a594f37dfc gnomeos: Pull in gzip
It doesn't understand --best, and some builds assume gzip.
2012-01-13 16:26:44 -05:00
..
classes gnomeos: Pull in gzip 2012-01-13 16:26:44 -05:00
conf gnomeos: Mounts work, far fewer boot errors 2011-11-16 12:51:24 -05:00
recipies-core gnomeos: initscripts: Add NetworkManager and dbus, kill stupid arm stuff 2012-01-11 14:36:04 -05:00
README.md gnomeos: Initial work on switching to Yocto 2011-11-12 19:21:10 -05:00
TODO gnomeos: Some yocto work 2011-11-13 18:53:14 -05:00
commit-yocto-build.sh gnomeos: Pull in ISC DHCP from Debian git, make NetworkManager start 2012-01-12 10:56:16 -05:00
gnomeos-run.sh gnomeos-run: Put current symlink in correct place 2012-01-11 22:54:35 -05:00
make-gnomeos-fs.sh gnomeos: Starting to get something bootable with yocto 2011-11-15 10:44:03 -05:00

README.md

Setup

We're going to be using Yocto. You probably want to refer to: http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html

The first part of this setup just repeats that.

Choose a directory for git sources, and a different directory for builds. I use: /src/ for git checkouts, and /src/build for builds.

Get a Yocto checkout:

cd /src git clone -b edison git://git.yoctoproject.org/poky.git

mkdir -p /src/build/gnomeos cd /src/build/gnomeos . oe-init-build-env

If you want at this point, you can run 'bitbake core-image-minimal' and you'll get an image bootable in QEMU. However, our next step is to set up the gnomeos layer on top.

You'll need a checkout of ostree:

cd /src git clone git://git.gnome.org/ostree

Now, edit /src/build/gnomeos/build/conf/layers.conf

Add /src/ostree/gnomeos/yocto as a layer. I also recommend editing conf/local.conf and doing the following:

  • remove tools-profile and tools-testapps from EXTRA_IMAGE_FEATURES
  • choose useful values for BB_NUMBER_THREADS, PARALLEL_MAKE