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

pv-runtime: GC all deployments if operating from an unpacked directory


If we are operating from ./scout_platform_x.y.z, self->id will be NULL.
Instead of matching on the names of directories, we can just check
whether the deployment we are going to use is the same file (device
and inode number) as the old deployment we are considering deleting.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent bf9e4393
No related branches found
No related tags found
1 merge request!295pressure-vessel: Use a mtree(5) manifest to set up the runtime
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment