From: Mike Williams Date: Fri, 20 Mar 2015 19:13:56 +0000 (-0400) Subject: openntpd: move systemd service files to /usr/lib X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=407e542d777e1de3dca2e6c2e0e87ee7b753b4df;p=buildroot.git openntpd: move systemd service files to /usr/lib Signed-off-by: Mike Williams Signed-off-by: Thomas Petazzoni --- diff --git a/package/openntpd/openntpd.mk b/package/openntpd/openntpd.mk index 60f025ce22..41e3399e2b 100644 --- a/package/openntpd/openntpd.mk +++ b/package/openntpd/openntpd.mk @@ -11,9 +11,9 @@ OPENNTPD_LICENSE_FILES = COPYING define OPENNTPD_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 0644 package/openntpd/ntpd.service \ - $(TARGET_DIR)/etc/systemd/system/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 \ + ln -fs ../../../../usr/lib/systemd/system/ntpd.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service endef