diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-20 18:21:43 +0200 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-20 16:45:49 +0000 |
commit | d504d89626da910bc911e1661f5e59721d5d1f24 (patch) | |
tree | 665ae0b7e03e4c357ed245312dc1490997d3caa2 /meta-agl-profile-core/recipes-connectivity/bluez5 | |
parent | 89e0d753077245baa80c00817117bbe82584fb20 (diff) |
recipes-connectivity: bluez5: add dbus-org.bluez.obex.service symlink
To allow OBEX service to be requested by a user on demand there needs
to be a symlink /etc/systemd/user/dbus-org.bluez.obex.service to the
obex.service
Change-Id: If4b8a94790403cf7f8f2a53ce3365c5f8c9f3b2c
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'meta-agl-profile-core/recipes-connectivity/bluez5')
-rw-r--r-- | meta-agl-profile-core/recipes-connectivity/bluez5/bluez5_%.bbappend | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl-profile-core/recipes-connectivity/bluez5/bluez5_%.bbappend b/meta-agl-profile-core/recipes-connectivity/bluez5/bluez5_%.bbappend index c5afa875f..9c49ad0e9 100644 --- a/meta-agl-profile-core/recipes-connectivity/bluez5/bluez5_%.bbappend +++ b/meta-agl-profile-core/recipes-connectivity/bluez5/bluez5_%.bbappend @@ -10,4 +10,9 @@ SRC_URI_append = "\ do_install_append() { install -m 0644 ${WORKDIR}/bluetooth.conf ${D}${sysconfdir}/dbus-1/system.d/bluetooth.conf + + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then + mkdir -p ${D}/etc/systemd/user + ln -sf ${systemd_user_unitdir}/obex.service ${D}/etc/systemd/user/dbus-org.bluez.obex.service + fi } |