1 FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
3 file://bluetooth.conf \
6 file://bluetooth.service \
9 FILES_${PN} += "${systemd_user_unitdir}/obex.service.d/tmpdir.conf"
12 install -m 0644 ${WORKDIR}/bluetooth.conf ${D}${sysconfdir}/dbus-1/system.d/bluetooth.conf
14 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
15 mkdir -p ${D}${systemd_user_unitdir}/obex.service.d
17 install -m 0644 ${WORKDIR}/obex.service ${D}${systemd_user_unitdir}
18 install -m 0644 ${WORKDIR}/tmpdir.conf ${D}${systemd_user_unitdir}/obex.service.d/tmpdir.conf
19 mkdir -p ${D}/etc/systemd/user
20 ln -sf ${systemd_user_unitdir}/obex.service ${D}/etc/systemd/user/dbus-org.bluez.obex.service
21 mkdir -p ${D}${systemd_system_unitdir}
22 install -m 0644 ${WORKDIR}/bluetooth.service ${D}${systemd_system_unitdir}