upmpdcli: use relative path for systemd service symlink
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b8aa3d5166
commit
63b1fec279
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user