Skip to content

Commit

Permalink
kbuild.jinja2: bugfix, invoke script correctly
Browse files Browse the repository at this point in the history
Without flag -e script will never fail and trigger build fail,
which means we will have broken kernel builds submitted to LAVA lab.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Jan 18, 2024
1 parent 15fc3b8 commit 332a503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/runtime/kbuild.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def main(args):
build.set_storage_config(STORAGE_CONFIG_YAML)
build.write_script("build.sh")
build.serialize("_build.json")
r = os.system("bash build.sh")
r = os.system("bash -e build.sh")
build2 = KBuild.from_json("_build.json")
build2.verify_build()
results = build2.submit(r)
Expand Down

0 comments on commit 332a503

Please sign in to comment.