floion
October 10, 2017, 6:57am
5
Hi Brice,
you could use the resin-yocto-scripts repository and build using the above mentioned Docker image. Have a look at the available options for running it here:
#!/bin/bash
set -ex
BUILD_CONTAINER_NAME=yocto-build-$$
print_help() {
echo -e "Script options:\n\
\t\t -h | --help\n
\t\t -m | --machine\n\
\t\t\t (mandatory) Machine to build for. This is a mandatory argument\n
\t\t --shared-dir\n\
\t\t\t (mandatory) Directory where to store shared downloads and shared sstate.\n
\t\t -b | --build-flavor\n\
\t\t\t (mandatory) The build flavor. Can be one of the following: managed-dev, managed-prod, unmanaged-dev, unmanaged-prod\n
\t\t --meta-resin-branch\n\
\t\t\t (optional) The meta-resin branch to checkout before building.\n\
\t\t\t\t Default value is __ignore__ which means it builds the meta-resin revision as configured in the git submodule.\n
\t\t --supervisor-tag\n\
\t\t\t (optional) The resin supervisor tag specifying which supervisor version is to be included in the build.\n\
This file has been truncated. show original