- commit
- 96925c67c652e84ad46aa253f2d701b7d3a0eda4
- parent
- 3284e247f9f93416f28bf56232a5a6e3198ce097
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-10-01 15:53
resolve symlinks on source path useful e.g. if /etc/resolv.conf is symlinked to /run/systemd/resolve/stub-resolv.conf, but that is not shared.
Diffstat
| M | xiwrap.py | 6 | +++++- |
1 files changed, 5 insertions, 1 deletions
diff --git a/xiwrap.py b/xiwrap.py
@@ -287,8 +287,12 @@ class RuleSet: 287 287 ): 288 288 if src is None: 289 289 cmd += [f'--{typ}', target] -1 290 elif typ == 'ro-bind-data': -1 291 cmd += [f'--{typ}', src, target] 290 292 else:291 -1 cmd += [f'--{typ}', expandvars(src, os.environ), target]-1 293 src = expandvars(src, os.environ) -1 294 src = os.path.realpath(src) -1 295 cmd += [f'--{typ}', src, target] 292 296 return cmd + bwrap_args 293 297 294 298 def build_dbus_session(self):