#!/usr/bin/env python3 # # Iterate over a set of configurations from json.conf, calling setup-config for each one, then running the build. # # Called with $1 - The 'nightly' target the autobuilder is running # $2 - The target build directory to configure # $3 - The poky branch name the build is running on # $4 - The name of the repository the build is running on # $5 - The directory to publish sstate into # $6 - A build-appliance SRCREV to use # import json import os import sys import subprocess import errno import utils if len(sys.argv) != 7: print("Incorrect number of parameters, please call as %s