From: Maxim Mikityanskiy Date: Mon, 19 Jan 2015 16:14:07 +0000 (+0200) Subject: package/dropbear: install dropbear.service to correct dir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5a705d2c99c2a3e15bd8d7480baf439ef886e5a;p=buildroot.git package/dropbear: install dropbear.service to correct dir The place for package-provided systemd units is /lib/systemd/system. /etc/systemd/system is for custom units. Reviewed-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index e063b10a46..f2ae4037b0 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -53,9 +53,9 @@ endef define DROPBEAR_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/dropbear/dropbear.service \ - $(TARGET_DIR)/etc/systemd/system/dropbear.service + $(TARGET_DIR)/lib/systemd/system/dropbear.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -fs ../dropbear.service \ + ln -fs /lib/systemd/system/dropbear.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dropbear.service endef