[Buildroot] [git commit branch/next] upmpdcli: use relative path for systemd service symlink

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Aug 8 10:57:15 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=63b1fec279500eb8e8827f6db228709c1dcde566
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/upmpdcli/upmpdcli.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/upmpdcli/upmpdcli.mk b/package/upmpdcli/upmpdcli.mk
index 69a0ab3..9531b61 100644
--- a/package/upmpdcli/upmpdcli.mk
+++ b/package/upmpdcli/upmpdcli.mk
@@ -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
 


More information about the buildroot mailing list