ostree/gnomeos/yocto
Colin Walters 4aa8ff61de contents: Add cpio to RDEPENDS 2012-02-20 19:08:22 -05:00
..
classes contents: Add cpio to RDEPENDS 2012-02-20 19:08:22 -05:00
conf gnomeosdistro.conf: Enable 6 gettys by default 2012-01-31 19:27:59 -05:00
recipies-core yocto: Update to newer ostree commit 2012-02-20 17:44:15 -05:00
15_ostree gnomeos: Drop ostree-init module 2012-02-20 14:00:56 -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-clone-qemu.sh clone-qemu: Also rsync modules/ directory 2012-02-13 15:32:42 -05:00
gnomeos-install.sh gnomeos: Drop ostree-init module 2012-02-20 14:00:56 -05:00
make-gnomeos-fs.sh gnomeos: Starting to get something bootable with yocto 2011-11-15 10:44:03 -05:00
ostree-setup.sh yocto: Move modules to /ostree, other misc fixes 2012-02-11 09:23:29 -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