Giter Site home page Giter Site logo

meta-tedge's Introduction

meta-tedge

This is Openembedded layer of thin-edge.io.

Yocto releases support

The meta-tedge supports Yocto version 3.4 Honister and 4.0 Kirkstone. They operate under the same branch.

Layer Dependencies

It depends on meta-networking, meta-python and meta-oe layers which are part of meta-openembedded layer. Since version 0.9.0 the layers requires meta-rust to meet the requirements of the rust version in thin-edge. Before 0.9.0, the meta-rust layer must be attached only to Honister distro.

Note: Remember to fetch proper branch of meta-openembedded layer according to the Yocto version used by the project.

Installation

If you are not familiar with building Yocto distribution or you have not configured your build host yet, we strongly recommend to look into official yocto documentation as the installation process will now skip all information that were mentioned there! For workspace organization or raspberry pi distribution, we also recommend this guide

Clone current version of meta-tedge using:

git clone https://github.com/thin-edge/meta-tedge.git

Add meta-tedge layer to your current build using subcommand add-layer:

bitbake-layers add-layer /path/to/your/directory/meta-tedge

Activate systemd as default init manager by adding following lines to conf/local.conf:

INIT_MANAGER="systemd"

Build tedge by running following command:

bitbake tedge-full-image

Alternatively, add all recipes from recipes-tedge to your image and run the build. The meta-tedge requires at least core-image-minimal to operate correctly.

Update Script

Note: Update script works only for version 0.8.1 and below.

The meta-tedge layer is equipped with update-layer.sh script that is used to update the layer's version. Additionaly, it can be used by users to set desired version that is not available in current releases. The script is still a "work in progress" concept, that is why some requirements must be met before the user can run it:

  • it requires cargo bitbake to be installed in the system
  • user must provide the path to desired version of thin-edge repository as a script parameter
  • overall structure of thin-edge must be the same, i.e. number of independent binaries cannot change. All current packages of the layer are the one located in meta-tedge/recipes-tedge directory. You can check if structure of thin-edge has changed by building it locally: cargo will print all available binaries

Warning: script does not inform if layer was updated successfuly or not. If script "froze", it could be caused by building the project by cargo bitbake: do not interrupt that process.

License

Distributed under the Apache 2.0 License. See LICENSE for more information.

meta-tedge's People

Contributors

ruadhri17 avatar bravo555 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.