mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
mkosi: Silence gdb debuginfo messages/prompts
Let's silence gdb asking about debuginfod and complaining about missing debuginfo to reduce friction when using mkosi to work on systemd.
This commit is contained in:
parent
6a1d8f1161
commit
5a4327d1a8
@ -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/' {} +
|
||||
|
Loading…
Reference in New Issue
Block a user