Giter Site home page Giter Site logo

aathub-yocto's Introduction

aathub yocto
aathub yocto

A build system without any of the bullshit

Status


Synopsis

Setups a development environment, compiles a yocto-based image, and optionally uploads the results to S3.

Resources

Don't know anything about yocto? Read these:

How to use

Simple

Kick off the build process with the following command:

./bootstrap.sh

Advanced

Sourcing bootstrap.sh is only necessary if passing in the -s param.

. ./bootstrap.sh -v -s -u bender -b /path/to/directory

Here's a breakdown:

  • -v enable verbose output
  • -s upload compiled results to S3
  • -u bender is an arbitrary user, used to execute bitbake. If the user doesn't exist one is created
  • -b /path/to/directory parent directory where compilation occurs (the default is /tmp)

For the most up-to-date instructions run the following command:

./bootstrap.sh -h

Testing

If oe-init-build-env isn't sourced, do so now

runqemu path/to/kernel-image.bin path/to/root-filesystem.ext3

Things to consider

  • The build takes 2 hours to compile on a c4.2xlarge, and requires upwards of 50GB of free space.

  • This has been sucessfully tested on ubuntu/debian and fedora.

  • We base64 a few files used in shippable's secure variables. Use the following command base64 -w 0 /path/to/file

  • The build system depends on meta-aatlive, a closed-source bitbake layer

  • PR builds will fail since secure variables aren't initalized. You have been warned...

aathub-yocto's People

Contributors

binarybeard avatar egladman avatar jalama avatar stephendp 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.