OpenEmbedded/Yocto layer for Ubuntu Snappy support
This meta layer adds support for Ubuntu Snappy for all OpenEmbedded/ Yocto based devices.
This meta layer mainly contains the following components which are required for Snappy:
Follow the Yocto Quickstart guide to get your build host properly setup: https://www.yoctoproject.org/docs/2.1/yocto-project-qs/yocto-project-qs.html
Download latest yocto release
$ git clone git://git.yoctoproject.org/poky $ cd poky $ git checkout krogoth
- Fetch meta-snappy layer
$ git clone https://github.com/morphis/meta-snappy.git
- Prepare the build environment
$ source oe-init-build-env
Now add meta-snappy to your conf/bblayers.conf so that it looks similar to this
BBLAYERS ?= " \ ... /tmp/poky/meta-snappy \ "
- Finally you can now build the Snappy demo image via
$ bitbake snappy-demo-image
Depending on your host system the build will take a while.
- Once the build is done you can boot the image with Qemu with the following command:
$ runqemu qemux86
- When the system has fully booted login with root and no password. Afterwards you can use the the snap system as normal.
$ snap install hello-world $ /snap/bin/hello-world.shell
Please submit any issues or pull requests on out github project at http://github.com/morphis/meta-snappy