Giter Club home page Giter Club logo
 photo

meta-debian Goto Github PK

repos: 6.0 gists: 0.0

Type: Organization

Bio: Set of repositories for meta-debian layer. The meta-debian layer is a meta layer for Poky.

What is meta-debian?

meta-debian is a set of recipes (metadata) for the poky build system, which allows cross-building GNU/Linux images using Debian source packages. By enabling meta-debian, you can cross-build a small GNU/Linux image with Debian sources for multiple architectures.

The main purpose of meta-debian is to provide reference Linux distribution for embedded systems satisfying the following needs.

  • Long-term support
  • Stability
  • Wide embedded CPU support
  • Customizability

Supported Versions

This branch provides recipes to cross-build Debian source packages of the following Debian version. These recipes are compatible with the following Yocto Project version.

  • Debian GNU/Linux 10 (buster)
  • Yocto Project 2.7 (warrior)

Supported Build Environment

This branch is tested on the following build environment.

  • Distribution: Debian GNU/Linux 10 (buster)
  • Architecture: amd64

Quick Start

This section introduces how to generate the minimal system with meta-debian and how to run it on the QEMU environment.

Setup build environment

In case of using the supported build environment, run the following commands.

$ git clone -b warrior git://git.yoctoproject.org/poky.git
$ git clone -b warrior https://github.com/meta-debian/meta-debian.git poky/meta-debian
$ sudo ./poky/meta-debian/scripts/install-deps.sh

Otherwise, use the docker container.

$ git clone -b warrior https://github.com/meta-debian/meta-debian.git
$ make -C meta-debian/docker

Build target images

Setup the build directory.

$ export TEMPLATECONF=meta-debian/conf
$ source ./poky/oe-init-build-env

Set MACHINE variable in conf/local.conf to one of the following machines.

  • qemux86 (default)
  • qemux86-64
  • qemuarm
  • qemuarm64
  • qemuppc
  • qemumips

Example:

MACHINE = "qemuarm"

Now ready for building. Build Linux kernel and the minimal rootfs by the following command. It takes a while to complete (more than 30 minutes).

$ bitbake core-image-minimal

Run images on QEMU

Run the images built in the above step on QEMU. Please replace ${MACHINE} by the target machine you selected in the above step.

$ runqemu ${MACHINE} nographic

After boot, you can login as root without password.

License

License of meta-debian is same as meta in poky i.e. All metadata is MIT licensed unless otherwise stated. Source code included in tree for individual recipes is under the LICENSE stated in the associated recipe (.bb file) unless otherwise stated.

See COPYING.MIT for more details about MIT license.

Community Resources

Project home

Mailing list

Mailing list subscription

meta-debian's Projects

meta-debian icon meta-debian

Meta-layer for Poky to build embedded Linux environments by Debian's source codes

meta-debian-extra icon meta-debian-extra

Meta-layer for Poky to build Debian packages whose versions are different from meta-debian.

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.