From c50b3d21d8fc3844ce0255d7529a11cfa0f4452a Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Tue, 19 Jan 2021 18:10:06 +0100 Subject: [PATCH] kas: drop bitbakes "-k" from the default args That gets us in line with the default of bitbake itself. If users still want to pass it, they will have to do so from now on. While that continue switch can seem like a sane default for interactive builds, it can also be pretty wasteful in CI. Where it would not just eat compute ressources but also peoples time, because it potentially delays build failures significantly. Signed-off-by: Henning Schild Signed-off-by: Jan Kiszka --- kas/plugins/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kas/plugins/build.py b/kas/plugins/build.py index b775643..c246669 100644 --- a/kas/plugins/build.py +++ b/kas/plugins/build.py @@ -101,7 +101,7 @@ class BuildCommand(Command): """ # Start bitbake build of image bitbake = find_program(ctx.environ['PATH'], 'bitbake') - cmd = [bitbake, '-k', '-c', ctx.config.get_bitbake_task()] \ + cmd = [bitbake, '-c', ctx.config.get_bitbake_task()] \ + self.extra_bitbake_args + ctx.config.get_bitbake_targets() if sys.stdout.isatty(): logging.info('%s$ %s', ctx.build_dir, ' '.join(cmd))