From a5a705d2c99c2a3e15bd8d7480baf439ef886e5a Mon Sep 17 00:00:00 2001 From: Maxim Mikityanskiy Date: Mon, 19 Jan 2015 18:14:07 +0200 Subject: [PATCH] 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 --- package/dropbear/dropbear.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2