mirror of
https://github.com/flatpak/flatpak.git
synced 2026-02-05 13:31:32 -05:00
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.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user