mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
60f7f94409
commit
1f72f49027
|
|
@ -25,6 +25,11 @@ EXTRA_OEMESON += "-Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', '
|
|||
|
||||
REQUIRED_DISTRO_FEATURES = "systemd"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/systemd/user
|
||||
ln -s ${systemd_user_unitdir}/dbus-broker.service ${D}${sysconfdir}/systemd/user/dbus.service
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} += "dbus-common"
|
||||
|
||||
FILES:${PN} += "${nonarch_libdir}/systemd/catalog"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user