1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-26 09:57:26 +03:00
systemd-stable/mkosi.postinst
Daan De Meyer d8067d4041 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.
2021-01-30 13:28:34 +00:00

6 lines
81 B
Bash
Executable File

#!/bin/sh
set -e
mkdir -p /root/build
echo "directory /root/build" > ~/.gdbinit