Coder Social home page Coder Social logo

meta-lxd's Introduction

meta-lxd (unofficial LXD layer for poky)

This layer provides support for building LXD and associated packages.

More information about LXD can be found at: https://github.com/lxc/lxd.

Disclaimer - This is unofficial! I am not associated with the LXD team.

The goal is to provide a simple recipe to allow Poky users to add LXD support to their images, since LXC only seems to be supported (through meta-virtualization) at the time of writing this document.

The testing so far has been limited to basic sanity checks of LXD functionality in a QEMU environment, your mileage may vary. If you encounter any problem, please submit an issue in this project.

Poky support is currently limited to the gatesgarth version, but this may evolve with future developments.

Dependencies

meta-lxd depends on the following layers:

URI: https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/ branch: gatesgarth

URI: https://git.congatec.com/yocto/meta-openembedded branch: gatesgarth

URI: https://git.yoctoproject.org/git/meta-security branch: gatesgarth

Maintenance

Issue reports and merge requests are welcome!

Maintainer: Florian Curinga <[email protected]>

Getting started

You may start by adding the layer to your bblayers.conf file along with its dependencies:

BBLAYERS ?= " \
  [...] \
  /path/to/meta \
  /path/to/meta-poky \
  /path/to/meta-yocto-bsp \
  /path/to/meta-openembedded/meta-oe \
  /path/to/meta-openembedded/meta-python \
  /path/to/meta-openembedded/meta-filesystems \
  /path/to/meta-openembedded/meta-networking \
  /path/to/meta-openembedded/meta-perl \
  /path/to/meta-virtualization \
  /path/to/meta-security \
  /path/to/meta-lxd \
  [...] "

This will enable you to build the lxd recipe as well as an example image core-image-sato-lxd that corresponds to the standard core-image-sato with the lxd package added.

After installing the package, make sure to read the great LXD "Getting started guide": https://linuxcontainers.org/lxd/getting-started-cli/.

Adding the lxd package to your image

This can simply be achieved by adding the package to your image:

IMAGE_INSTALL += " lxd "

Building the example image

You may use bitbake to build this image:

bitbake core-image-sato-lxd

Runtime setup

The LXD daemon does not start automatically, so you first need to start it:

sudo -E PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH /usr/bin/lxd --group sudo &

From there, you can setup LXD as you would normally do:

lxd init

meta-lxd's People

Contributors

fcuringa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.