upmpdcli: use relative path for systemd service symlink

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2015-07-05 16:08:46 +02:00
parent b8aa3d5166
commit 63b1fec279

View File

@ -35,7 +35,7 @@ define UPMPDCLI_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 $(@D)/systemd/upmpdcli.service \
$(TARGET_DIR)/usr/lib/systemd/system/upmpdcli.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -sf /usr/lib/systemd/system/upmpdcli.service \
ln -sf ../../../../usr/lib/systemd/system/upmpdcli.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/upmpdcli.service
endef