From: Mike Williams Date: Fri, 20 Mar 2015 19:13:53 +0000 (-0400) Subject: ntp: move systemd service file to /usr/lib X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7afccf677621c557d0db100117833b1dfdf4d071;p=buildroot.git ntp: move systemd service file to /usr/lib Signed-off-by: Mike Williams Signed-off-by: Thomas Petazzoni --- diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 7d5644a902..36dea79d32 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -71,9 +71,10 @@ define NTP_INSTALL_INIT_SYSV endef define NTP_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/etc/systemd/system/ntpd.service + $(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -fs ../ntpd.service $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service + ln -fs ../../../../usr/lib/systemd/system/ntpd.service \ + $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service endef endif