Skip to content
Snippets Groups Projects
Commit d0e7dd07 authored by Ludovico de Nittis's avatar Ludovico de Nittis
Browse files

Merge branch 'wip/no-env' into 'master'

runtime: Don't assume container's env is in the PATH

See merge request !188
parents 3008ba5e f584a55c
No related branches found
No related tags found
1 merge request!188runtime: Don't assume container's env is in the PATH
Pipeline #5631 passed
...@@ -2867,8 +2867,8 @@ pv_runtime_use_provider_graphics_stack (PvRuntime *self, ...@@ -2867,8 +2867,8 @@ pv_runtime_use_provider_graphics_stack (PvRuntime *self,
provider_etc_dest, provider_etc_dest,
NULL); NULL);
flatpak_bwrap_set_env (temp_bwrap, "PATH", "/usr/bin:/bin", TRUE);
flatpak_bwrap_add_args (temp_bwrap, flatpak_bwrap_add_args (temp_bwrap,
"env", "PATH=/usr/bin:/bin",
"readlink", "-e", arch->ld_so, "readlink", "-e", arch->ld_so,
NULL); NULL);
flatpak_bwrap_finish (temp_bwrap); flatpak_bwrap_finish (temp_bwrap);
......
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