Skip to content

Commit

Permalink
stages: add QEMU_LOG=unimp to org.osbuild.ostree.deploy.container
Browse files Browse the repository at this point in the history
This should help debug why we see failures on arm when cross building.
  • Loading branch information
mvo5 committed Sep 25, 2024
1 parent ed33869 commit 74a8cf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stages/org.osbuild.ostree.deploy.container
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ def main(tree, inputs, options):
kopts = options.get("kernel_opts", [])
target_imgref = options.get("target_imgref")

# XXX: find a better way to include this only conditionally, e.g.
# when there is a debug mode enabled
os.environ["QEMU_LOG"] = "unimp"

# schema should catch the case in which there are more
# than one input but this adds a second layer of security
if len(inputs) > 1:
Expand Down

0 comments on commit 74a8cf1

Please sign in to comment.