mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
package/bluez5_utils: correct systemd service install
Commit d732fa4 add the BLUEZ5_UTILS_INSTALL_INIT_SYSTEMD rule, however, it is not correct. The [Install] section of bluetooth.service is as follows: [Install] WantedBy=bluetooth.target Alias=dbus-org.bluez.service hence there are currently two mistakes: 1) bluetooth.service is wanted by bluetooth.target not multi-user.target 2) dbus-org.bluez.service is a missing alias to bluetooth.service This commit fixes both these issues. Signed-off-by: Martin Bark <martin@barkynet.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
80899ff982
commit
4a34ac240c
@ -77,9 +77,11 @@ BLUEZ5_UTILS_CONF_OPTS += --disable-systemd
|
||||
endif
|
||||
|
||||
define BLUEZ5_UTILS_INSTALL_INIT_SYSTEMD
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/bluetooth.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/bluetooth.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/bluetooth.service
|
||||
$(TARGET_DIR)/etc/systemd/system/bluetooth.target.wants/bluetooth.service
|
||||
ln -fs ../../../../usr/lib/systemd/system/bluetooth.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/dbus-org.bluez.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
x
Reference in New Issue
Block a user