bluez5_utils: start systemd service on boot

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mike Williams 2016-05-06 14:30:19 -04:00 committed by Thomas Petazzoni
parent faec6b0001
commit d732fa48d1

View File

@ -79,4 +79,10 @@ else
BLUEZ5_UTILS_CONF_OPTS += --disable-systemd
endif
define BLUEZ5_UTILS_INSTALL_INIT_SYSTEMD
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
ln -fs ../../../../usr/lib/systemd/system/bluetooth.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/bluetooth.service
endef
$(eval $(autotools-package))