diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-02-07 12:44:40 +0100 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-02-13 09:22:29 +0100 |
| commit | 70300bdd48ece3763cc812fee276968767e77b3c (patch) | |
| tree | 5e26640ce3ac9490f10b5d3a82887e7d807e2eee /src/ipcpd/unicast/addr-auth.h | |
| parent | 7ed1b82e13fd70f3e68c4d6ec320377e4c27174f (diff) | |
| download | ouroboros-70300bdd48ece3763cc812fee276968767e77b3c.tar.gz ouroboros-70300bdd48ece3763cc812fee276968767e77b3c.zip | |
build: Fix clobbering of FUSE_PREFIX
pkg_check_modules(FUSE ...) in fuse.cmake tells CMake's pkg-config
module to use FUSE as the variable prefix. pkg-config then populates
FUSE_PREFIX with the install prefix of libfuse (i.e., usr). This
overwrote the FUSE_PREFIX cache variable set to /tmp/ouroboros in
global.cmake.
IRMd was calling mkdir("/usr", 0777) on startup and rmdir("/usr") on
shutdown. The rmdir only fails because usr isn't empty — if it ever
were (e.g., in a minimal container), it would deleted /usr.
The fix renames the pkg-config prefix from FUSE to FUSE_PKG, so
pkg-config populates FUSE_PKG_PREFIX (harmless) instead of clobbering
FUSE_PREFIX.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/addr-auth.h')
0 files changed, 0 insertions, 0 deletions
