From: Aurélien Chabot Date: Mon, 13 Jul 2015 18:38:44 +0000 (+0200) Subject: minidlna: fix systemd service activation symlink X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcd309f333ed4334de2f58a173d6c23625fc2b79;p=buildroot.git minidlna: fix systemd service activation symlink Signed-off-by: Aurélien Chabot Signed-off-by: Thomas Petazzoni --- diff --git a/package/minidlna/minidlna.mk b/package/minidlna/minidlna.mk index 7adb832f88..3a9ad41659 100644 --- a/package/minidlna/minidlna.mk +++ b/package/minidlna/minidlna.mk @@ -37,11 +37,11 @@ endef define MINIDLNA_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 0755 package/minidlna/minidlnad.service \ - $(TARGET_DIR)/lib/systemd/system/minidlnad.service + $(TARGET_DIR)/usr/lib/systemd/system/minidlnad.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -fs ../minidlnad.service \ + ln -fs ../../../../usr/lib/systemd/system/minidlnad.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/minidlnad.service endef