mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-14 23:31:32 +00:00

At least for me it was a challenge to get the debugger properly configured to allow debugging fwupd when built in tree. This should allow very simple debugging.
9 lines
221 B
Bash
Executable File
9 lines
221 B
Bash
Executable File
#!/bin/sh
|
|
export ROOT=#ROOT#
|
|
export FWUPD_LOCALSTATEDIR=${ROOT}/dist
|
|
export FWUPD_SYSCONFDIR=${ROOT}/dist/etc
|
|
if [ -n "${DEBUG}" ]; then
|
|
DEBUG="gdbserver localhost:9091"
|
|
fi
|
|
${DEBUG} ${ROOT}/dist/#EXECUTABLE# "$@"
|