summaryrefslogtreecommitdiffstats
path: root/mkosi.images/build/mkosi.build.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.images/build/mkosi.build.chroot')
-rwxr-xr-xmkosi.images/build/mkosi.build.chroot7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkosi.images/build/mkosi.build.chroot b/mkosi.images/build/mkosi.build.chroot
new file mode 100755
index 0000000000..4a3c977a78
--- /dev/null
+++ b/mkosi.images/build/mkosi.build.chroot
@@ -0,0 +1,7 @@
+#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
+set -e
+
+if [[ "$1" == "clangd" ]]; then
+ exec "$@"
+fi