Skip to content
Snippets Groups Projects
Commit bbaa28a5 authored by Simon McVittie's avatar Simon McVittie
Browse files

pv-runtime: Abbreviate path to generated JSON manifests


If we give a relative path starting with `overrides/`, it's reasonably
obvious from context what file we're writing to on the host system and
where it will end up in the container. The necessary code restructuring
to do this also makes it more obvious that the path `write_to_file` in
the current execution environment, the path `json_in_container` in the
resulting container, and the debug-log message all match up.

We still need `write_to_dir` in `setup_each_json_manifest()`, but only
to create the directory we're going to be populating.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent f9bbd8e2
No related branches found
No related tags found
1 merge request!515pv-runtime: Use more file-descriptor-relative I/O
Pipeline #35934 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment