]> git.ipfire.org Git - thirdparty/mkosi.git/commit
mkosi/run: pass through LD_LIBRARY_PATH 4100/head
authorMaximilian Bosch <maximilian@mbosch.me>
Mon, 29 Dec 2025 17:06:18 +0000 (18:06 +0100)
committerMaximilian Bosch <maximilian@mbosch.me>
Tue, 30 Dec 2025 14:09:20 +0000 (15:09 +0100)
commit76ec260233796731efc8affe52462e96dc9c5cdd
treed7f8aa65a22245ec033c6559a03385179233d85d
parent8d2cd50e5192cada7211724ecff3514f0c85cf0f
mkosi/run: pass through LD_LIBRARY_PATH

The sandbox expects that the host has a `libseccomp.so` in its global
search-path (usually `/usr/lib`). However, that path doesn't exist on
NixOS. Another standard way of passing lookup paths to `dlopen()` is
using LD_LIBRARY_PATH which is now passed through to the sandbox.
mkosi/run.py