mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
mkosi: Add a postinstall script to setup .gdbinit.
systemd is compiled with relative source file paths so we need to issue a directory command to make sure gdb can find systemd's source files. Let's put this in a .gdbinit file so it's executed automatically when we run gdb.
This commit is contained in:
parent
7a1fed85d7
commit
d8067d4041
5
mkosi.postinst
Executable file
5
mkosi.postinst
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
mkdir -p /root/build
|
||||
echo "directory /root/build" > ~/.gdbinit
|
Loading…
x
Reference in New Issue
Block a user