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

populate-depot: Always generate ./run


This was accidentally made conditional on whether we are generating a
tool manifest for the Steam compatibility tool framework, which we
don't want to do if we are using the container runtime for some other
purpose. For example, the container runtime that's used to run
`steamwebhelper` doesn't need the tool manifest.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent a261c2b0
No related branches found
No related tags found
1 merge request!778Draft: populate-depot: Always generate ./run
......@@ -1036,6 +1036,12 @@ class Main:
os.chmod(os.path.join(self.depot, 'run-in-' + runtime.name), 0o755)
shutil.copy2(
os.path.join(self.depot, 'run-in-' + runtime.name),
os.path.join(self.depot, 'run'),
)
os.chmod(os.path.join(self.depot, 'run'), 0o755)
comment = ', '.join(sorted(runtime_files))
if runtime.path and not runtime.official:
......@@ -1105,12 +1111,6 @@ class Main:
vdf.dump(content, writer, pretty=True, escaped=True)
shutil.copy2(
os.path.join(self.depot, 'run-in-' + runtime.name),
os.path.join(self.depot, 'run'),
)
os.chmod(os.path.join(self.depot, 'run'), 0o755)
self.write_component_versions()
def write_component_versions(self) -> None:
......
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