Re: [PATCH BlueZ] tools/test-runner: Fix not creating /usr/share/dbus-1/system.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Dec 19, 2016 at 1:16 PM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
>
> 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 9b54426..fb8f7e2 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.9.3

Applied.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux