Commit 03582074 authored by Paul Barker's avatar Paul Barker Committed by Paul Barker

build/scripts/run-build.py: Add continue argument

Signed-off-by: Paul Barker's avatarPaul Barker <pbarker@toganlabs.com>
parent 9529c3ec
......@@ -24,7 +24,11 @@ def run_build(args):
subfolder = get_subfolder(args)
bitbake_status = subprocess.call("bitbake oryx-publish", shell=True)
bitbake_args = ""
if args.bitbake_continue:
bitbake_args += " -k"
bitbake_status = subprocess.call("bitbake %s oryx-publish" % (bitbake_args), shell=True)
# Copy the contents of the output files out of the tmp folder. The
# destination folder must not already exist for copytree to work.
......@@ -85,6 +89,9 @@ def parse_args():
parser.add_argument("-L", "--logs", help="Captures and archives log files", action="store_true")
parser.add_argument("-k", "--continue", dest="bitbake_continue", action="store_true",
help="Continue as much as possible after an error")
return parser.parse_args()
def main():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment