[Buildroot] [PATCH 1/1] package/libglib2: fix dbus system socket location

Jean-pierre Cartal jpcartal at free.fr
Thu Apr 15 14:42:26 UTC 2021


Fix dbus system socket location moved from
/var/run/dbus/system_bus_socket to /run/dbus/system_bus_socket

Signed-off-by: Jean-pierre Cartal <jpcartal at free.fr>
---
 package/libglib2/0005-dbus-system-socket-path.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 package/libglib2/0005-dbus-system-socket-path.patch

diff --git a/package/libglib2/0005-dbus-system-socket-path.patch b/package/libglib2/0005-dbus-system-socket-path.patch
new file mode 100644
index 0000000000..bb2ec33dc6
--- /dev/null
+++ b/package/libglib2/0005-dbus-system-socket-path.patch
@@ -0,0 +1,11 @@
+diff -Naur libglib2-2.66.8.orig/gio/gdbusaddress.c libglib2-2.66.8/gio/gdbusaddress.c
+--- libglib2-2.66.8.orig/gio/gdbusaddress.c     2021-03-18 14:47:48.256693000 +0100
++++ libglib2-2.66.8/gio/gdbusaddress.c  2021-04-15 16:14:28.519296584 +0200
+@@ -1331,7 +1331,7 @@
+
+       if (ret == NULL)
+         {
+-          ret = g_strdup ("unix:path=/var/run/dbus/system_bus_socket");
++          ret = g_strdup ("unix:path=/run/dbus/system_bus_socket");
+         }
+       break;
-- 
2.30.2



More information about the buildroot mailing list