aboutsummaryrefslogtreecommitdiff
path: root/package/openssh
diff options
context:
space:
mode:
authorGravatar Jérémy Rosen <jeremy.rosen@smile.fr>2019-12-16 11:30:43 +0100
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-12-18 18:27:41 +0100
commit3e092163e54a36cab03b19dd8e0c2cffa31aa0a5 (patch)
tree12ca2be4e41357ccfdf4a06c7c9af9c8455579bf /package/openssh
parent6c3944a0572d101e583c62d62144ba1b2c6cbd1a (diff)
downloadbuildroot-3e092163e54a36cab03b19dd8e0c2cffa31aa0a5.tar.gz
buildroot-3e092163e54a36cab03b19dd8e0c2cffa31aa0a5.tar.bz2
package: rely on systemctl preset-all for buildroot-provided services
All the packages in this list have the following properties * units are provided by buildroot in the package directory * the SYSTEMD_INSTALL_INIT_HOOK is exactly equivalent to what the [Install] section of the unit does The fix removes the soflinking in the .mk file Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/openssh')
-rw-r--r--package/openssh/openssh.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index 47a724d839..0411133bdc 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -74,9 +74,6 @@ endif
define OPENSSH_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/openssh/sshd.service \
$(TARGET_DIR)/usr/lib/systemd/system/sshd.service
- mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
- ln -fs ../../../../usr/lib/systemd/system/sshd.service \
- $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/sshd.service
$(OPENSSH_INSTALL_SYSTEMD_SYSUSERS)
endef