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

runtime: Break hard-link for lock file when copying runtime


Because we do a "cheap copy" with hard-links where possible, .ref is a
hard-link to its counterpart in the original (non-copied) runtime, so a
lock on one is a lock on the other. We hold a lock on the original
runtime while we do setup, so we would never actually delete the
temporary runtimes unless we break the hard-link by re-creating the
lock file.

Resolves: T22035
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 1d5d8cea
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment