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 <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Henning Schild 2021-01-19 18:10:06 +01:00 committed by Jan Kiszka
parent e8b6a4d89b
commit c50b3d21d8

View File

@ -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))