summaryrefslogtreecommitdiffstats
path: root/mkosi.clangd
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-11-01 13:05:46 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-11-01 13:30:45 +0100
commit70af6703b0d153307c2f68e2354f0db8b83e9749 (patch)
tree79e2e4ffd3f21286b7cc6dbfa51d58024d819fc0 /mkosi.clangd
parentcoredump: lock down EnterNamespace= mount even more (#34975) (diff)
downloadsystemd-70af6703b0d153307c2f68e2354f0db8b83e9749.tar.xz
systemd-70af6703b0d153307c2f68e2354f0db8b83e9749.zip
mkosi: Set BuildSourcesEphemeral=no in mkosi.clangd
We're just running a language server so no need to put a writable overlay on top of the build sources to prevent modifications. This hopefully helps the language server track modifications to the source files better.
Diffstat (limited to 'mkosi.clangd')
-rwxr-xr-xmkosi.clangd1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkosi.clangd b/mkosi.clangd
index 80d544677a..8e54e44f70 100755
--- a/mkosi.clangd
+++ b/mkosi.clangd
@@ -8,6 +8,7 @@ ARCH="$(jq -r .Architecture <<< "$MKOSI_CONFIG")"
exec mkosi \
--incremental=strict \
+ --build-sources-ephemeral=no \
--format=none \
build \
clangd \