tools/test-runner: Fix not creating /usr/share/dbus-1/system.conf
Luiz Augusto von Dentz
maintainerPATCH 1/1 tools/test-runner: Fix not creating /usr/share/dbus-1/system.conf
From: Luiz Augusto von Dentz <[email protected]>
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(+)
tools/test-runner.c +4 -0
@@ -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 ); }
Signature · 1 line
2.9.3
Hi,
Quoted 24 lines · Luiz Augusto von Dentz
From: Luiz Augusto von Dentz <[email protected]>
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(+)tools/test-runner.c +4
-1@@ -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 ); } --
Quoted 1 line
2.9.3
Applied.
Signature · 1 line
Luiz Augusto von Dentz