mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +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
|
bootctl install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cat >> /root/.gdbinit <<EOF
|
||||||
|
set debuginfod enabled off
|
||||||
|
set build-id-verbose 0
|
||||||
|
EOF
|
||||||
|
|
||||||
if [ -n "$SANITIZERS" ]; then
|
if [ -n "$SANITIZERS" ]; then
|
||||||
# ASAN and syscall filters aren't compatible with each other.
|
# ASAN and syscall filters aren't compatible with each other.
|
||||||
find / -name '*.service' -type f -exec sed -i 's/^\(MemoryDeny\|SystemCall\)/# \1/' {} +
|
find / -name '*.service' -type f -exec sed -i 's/^\(MemoryDeny\|SystemCall\)/# \1/' {} +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user