From e74bb5a35be82cb7beec2b149bcc5c7bcc1af9b9 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 19 Dec 2016 13:12:32 +0200 Subject: [PATCH] tools/test-runner: Fix not creating /usr/share/dbus-1/system.conf Apparently this is the new location where D-Bus will look for its configuration so just creare a symlink to /etc/dbus-1/system.conf. --- tools/test-runner.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/test-runner.c b/tools/test-runner.c index 9b5442608..fb8f7e2ff 100644 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -419,6 +419,10 @@ static void create_dbus_system_conf(void) fclose(fp); + if (symlink("/etc/dbus-1/system.conf", + "/usr/share/dbus-1/system.conf") < 0) + perror("Failed to create system.conf symlink"); + mkdir("/run/dbus", 0755); } -- 2.47.3