ostree/gnomeos/yocto
Colin Walters fea117cd5e gnomeos: Move everything into JSON, start plowing through X.org
Also:

* Stop generating tarballs for artifacts, use plain directories
* Commit artifacts as uid/gid 0, with no xattrs

Other misc stuff
2012-01-05 23:05:49 -05:00
..
classes gnomeos: Switch to GNU tar 2012-01-05 19:10:26 -05:00
conf gnomeos: Mounts work, far fewer boot errors 2011-11-16 12:51:24 -05:00
recipies-core gnomeos: Move everything into JSON, start plowing through X.org 2012-01-05 23:05:49 -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: We can now build gobject-introspection 2012-01-03 19:09:12 -05:00
gnomeos-run.sh gnomeos: Rename images to "runtime" and "devel" 2011-12-20 14:44:51 -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