From 220657c67438306d2068c04b50eec78682b4c94b Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Mon, 17 Aug 2020 19:58:13 +0100 Subject: [PATCH] runtime: Always provide adverb at /run/pressure-vessel/pv-from-host While we control /run, we might as well be consistent. Signed-off-by: Simon McVittie <smcv@collabora.com> --- src/runtime.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/runtime.c b/src/runtime.c index 0d1c0474b..c7dd569f7 100644 --- a/src/runtime.c +++ b/src/runtime.c @@ -2965,6 +2965,12 @@ pv_runtime_bind (PvRuntime *self, if (!pv_cheap_tree_copy (pressure_vessel_prefix, dest, error)) return FALSE; + flatpak_bwrap_add_args (bwrap, + "--symlink", + "/usr/lib/pressure-vessel/from-host", + "/run/pressure-vessel/pv-from-host", + NULL); + self->adverb_in_container = "/usr/lib/pressure-vessel/from-host/bin/pressure-vessel-adverb"; } else -- GitLab