run: Make /var/run symlink relative

This lets it work during early setup phase when the new root is at
/newroot. This allows us to create things in /var/run with
e.g. --filesystem=/var/run/foo.
tingping/wmclass
Alexander Larsson 2016-11-22 11:37:45 +01:00
parent 100038513d
commit 60b8a0eb47
1 changed files with 1 additions and 1 deletions

View File

@ -3705,7 +3705,7 @@ flatpak_run_setup_base_argv (GPtrArray *argv_array,
"--dir", "/run/host",
"--dir", run_dir,
"--setenv", "XDG_RUNTIME_DIR", run_dir,
"--symlink", "/run", "/var/run",
"--symlink", "../run", "/var/run",
"--ro-bind", "/sys/block", "/sys/block",
"--ro-bind", "/sys/bus", "/sys/bus",
"--ro-bind", "/sys/class", "/sys/class",