aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Trent Piepho <tpiepho@impinj.com>2018-02-27 13:21:31 -0800
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-02-27 22:44:17 +0100
commitaca8bcc836f7df6c8ddb1d5a71348ed08e374320 (patch)
treecfe4e81f112ea8fefa9772fa3a8a4e67f75dbc7f
parent1cf62bfc1e0774fc36b7acc8b09613dbf46e985b (diff)
downloadbuildroot-aca8bcc836f7df6c8ddb1d5a71348ed08e374320.tar.gz
buildroot-aca8bcc836f7df6c8ddb1d5a71348ed08e374320.tar.bz2
bluez5_utils: Make systemd link correctly
The link in /etc/systemd/system/, named dbus-org.bluez.service, pointing to ../../../../usr/lib/systemd/system/bluetooth.service has one too many ".." in it. Likely the target was copied from the other link in /etc/systemd/system/bluetooth.target.wants/, which is one level deeper. Adjust link to be correct. Signed-off-by: Trent Piepho <tpiepho@impinj.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/bluez5_utils/bluez5_utils.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
index 0634ec9f6f..395340a3e6 100644
--- a/package/bluez5_utils/bluez5_utils.mk
+++ b/package/bluez5_utils/bluez5_utils.mk
@@ -116,7 +116,7 @@ define BLUEZ5_UTILS_INSTALL_INIT_SYSTEMD
mkdir -p $(TARGET_DIR)/etc/systemd/system/bluetooth.target.wants
ln -fs ../../../../usr/lib/systemd/system/bluetooth.service \
$(TARGET_DIR)/etc/systemd/system/bluetooth.target.wants/bluetooth.service
- ln -fs ../../../../usr/lib/systemd/system/bluetooth.service \
+ ln -fs ../../../usr/lib/systemd/system/bluetooth.service \
$(TARGET_DIR)/etc/systemd/system/dbus-org.bluez.service
endef