Clone/Initialize the repository
There are two ways of initializing this repository:
- Clone this repository with "git clone --recursive".
- Run "git clone" and then "git submodule update --init --recursive". This will bring in all the needed dependencies.
- Consult layers/meta-resin/README.md for info on various build flags (setting
up serial console support for example) and build prerequisites. Build flags can
be set by using the build script (barys) or by manually modifying
See below for using the build script.
Build this repository
Run the build script:
You can also run barys with the -h switch to inspect the available options
Custom build using this repository
Run the build script in dry run mode to setup an empty
./balena-yocto-scripts/build/barys --remove-build --dry-run
Prepare build's shell environment
Run bitbake (see message outputted when you sourced above for examples)
For issues we use an aggregated github repository available here. When you create issue make sure you select the right labels.
To contribute send github pull requests targeting this repository.
Please refer to: Yocto Contribution Guidelines and try to use the commit log format as stated there. Example:
test.bb: I added a test [Issue #01] I'm going to explain here what my commit does in a way that history would be useful. Signed-off-by: Joe Developer <firstname.lastname@example.org>
Make sure you mention the issue addressed by a PR. See: