summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-08-07 16:40:12 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-08-07 16:40:12 +0300
commit4364085aade9b82172c70fa8ba96c1212ee7549f (patch)
tree93e23b8446ce6061b3e5ef6f051344ba976bb3f3 /HACKING
parent1a6f8ed7ac36d86e502d5f64420e9f9dbeebae6c (diff)
downloadbluez-4364085aade9b82172c70fa8ba96c1212ee7549f.tar.gz
HACKING: Update instructions on how to run from source tree
Make use of -f option in the instruction of how to run bluetoothd from the source tree since that doesn't require installing the main.conf when testing new options.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING4
1 files changed, 2 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index d93730dd3..87762f1e0 100644
--- a/HACKING
+++ b/HACKING
@@ -86,12 +86,12 @@ automatically includes this option.
# sudo cp ./src/bluetooth.conf /etc/dbus-1/system.d/
Run daemon in foreground with debugging
- # sudo ./src/bluetoothd -n -d
+ # sudo ./src/bluetoothd -n -d -f ./src/main.conf
Run daemon with valgrind
# sudo valgrind --trace-children=yes --track-origins=yes --track-fds=yes \
--show-possibly-lost=no --leak-check=full --suppressions=./tools/valgrind.supp \
- ./src/bluetoothd -n -d
+ ./src/bluetoothd -n -d -f ./src/main.conf
For production installations or distribution packaging it is important that
the "--enable-maintainer-mode" option is NOT used.