summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorNiko Mauno <niko.mauno@vaisala.com>2024-10-21 15:16:22 +0000
committerKhem Raj <raj.khem@gmail.com>2024-10-21 20:54:48 -0700
commit1f72f490277ce09742a51f022d0655ee1bfb1641 (patch)
tree6a17d0a208e024191e12857804507a01cde991d9 /meta-oe
parent60f7f944090137274563c72396940ecdb8876229 (diff)
downloadmeta-openembedded-1f72f490277ce09742a51f022d0655ee1bfb1641.tar.gz
dbus-broker: Add missing systemd user symlink
meta/recipes-core/systemd/systemd-systemctl/systemctl seems to care only about "system" units, so create an Alias link for "user" unit manually to avoid errors which are indicated by following entries in the systemd journal: systemd[381]: dbus.socket: Socket service dbus.service not loaded, refusing. systemd[381]: Failed to listen on D-Bus User Message Bus Socket. which take place for example when DISTRO_FEATURES contains 'pam'. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-core/dbus/dbus-broker_36.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_36.bb b/meta-oe/recipes-core/dbus/dbus-broker_36.bb
index f0f427ba0f..5b4915f968 100644
--- a/meta-oe/recipes-core/dbus/dbus-broker_36.bb
+++ b/meta-oe/recipes-core/dbus/dbus-broker_36.bb
@@ -25,6 +25,11 @@ EXTRA_OEMESON += "-Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', '
25 25
26REQUIRED_DISTRO_FEATURES = "systemd" 26REQUIRED_DISTRO_FEATURES = "systemd"
27 27
28do_install:append() {
29 install -d ${D}${sysconfdir}/systemd/user
30 ln -s ${systemd_user_unitdir}/dbus-broker.service ${D}${sysconfdir}/systemd/user/dbus.service
31}
32
28RDEPENDS:${PN} += "dbus-common" 33RDEPENDS:${PN} += "dbus-common"
29 34
30FILES:${PN} += "${nonarch_libdir}/systemd/catalog" 35FILES:${PN} += "${nonarch_libdir}/systemd/catalog"