summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkosi.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 8817818a94..1c24b4f51a 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -6,6 +6,11 @@ if [ "$1" = "final" ]; then
bootctl install
fi
+ cat >> /root/.gdbinit <<EOF
+set debuginfod enabled off
+set build-id-verbose 0
+EOF
+
if [ -n "$SANITIZERS" ]; then
# ASAN and syscall filters aren't compatible with each other.
find / -name '*.service' -type f -exec sed -i 's/^\(MemoryDeny\|SystemCall\)/# \1/' {} +