Skip to content

ableat/aathub-yocto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages