diff options
Diffstat (limited to 'meta')
4 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh-6.4p1/sshd.socket b/meta/recipes-connectivity/openssh/openssh-6.4p1/sshd.socket index d19ab2ac43..12c39b26b5 100644 --- a/meta/recipes-connectivity/openssh/openssh-6.4p1/sshd.socket +++ b/meta/recipes-connectivity/openssh/openssh-6.4p1/sshd.socket | |||
@@ -8,4 +8,3 @@ Accept=yes | |||
8 | 8 | ||
9 | [Install] | 9 | [Install] |
10 | WantedBy=sockets.target | 10 | WantedBy=sockets.target |
11 | Also=sshdgenkeys.service | ||
diff --git a/meta/recipes-connectivity/openssh/openssh-6.4p1/sshd@.service b/meta/recipes-connectivity/openssh/openssh-6.4p1/sshd@.service index 64e009ff00..4eda6592f5 100644 --- a/meta/recipes-connectivity/openssh/openssh-6.4p1/sshd@.service +++ b/meta/recipes-connectivity/openssh/openssh-6.4p1/sshd@.service | |||
@@ -1,5 +1,6 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=OpenSSH Per-Connection Daemon | 2 | Description=OpenSSH Per-Connection Daemon |
3 | Wants=sshdgenkeys.service | ||
3 | After=sshdgenkeys.service | 4 | After=sshdgenkeys.service |
4 | 5 | ||
5 | [Service] | 6 | [Service] |
diff --git a/meta/recipes-connectivity/openssh/openssh-6.4p1/sshdgenkeys.service b/meta/recipes-connectivity/openssh/openssh-6.4p1/sshdgenkeys.service index 2fd8a9aaf2..c21d70baf0 100644 --- a/meta/recipes-connectivity/openssh/openssh-6.4p1/sshdgenkeys.service +++ b/meta/recipes-connectivity/openssh/openssh-6.4p1/sshdgenkeys.service | |||
@@ -1,10 +1,10 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=SSH Key Generation | 2 | Description=OpenSSH Key Generation |
3 | ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key | ||
4 | ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key | ||
5 | ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key | ||
3 | 6 | ||
4 | [Service] | 7 | [Service] |
5 | ExecStart=@BINDIR@/ssh-keygen -A | 8 | ExecStart=@BINDIR@/ssh-keygen -A |
6 | Type=oneshot | 9 | Type=oneshot |
7 | RemainAfterExit=yes | 10 | RemainAfterExit=yes |
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||
diff --git a/meta/recipes-connectivity/openssh/openssh_6.4p1.bb b/meta/recipes-connectivity/openssh/openssh_6.4p1.bb index c61d16f6c6..1f78566c6c 100644 --- a/meta/recipes-connectivity/openssh/openssh_6.4p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_6.4p1.bb | |||
@@ -44,7 +44,7 @@ INITSCRIPT_NAME_${PN}-sshd = "sshd" | |||
44 | INITSCRIPT_PARAMS_${PN}-sshd = "defaults 9" | 44 | INITSCRIPT_PARAMS_${PN}-sshd = "defaults 9" |
45 | 45 | ||
46 | SYSTEMD_PACKAGES = "${PN}-sshd" | 46 | SYSTEMD_PACKAGES = "${PN}-sshd" |
47 | SYSTEMD_SERVICE_${PN}-sshd = "sshd.socket sshd@.service sshdgenkeys.service" | 47 | SYSTEMD_SERVICE_${PN}-sshd = "sshd.socket" |
48 | 48 | ||
49 | PACKAGECONFIG ??= "tcp-wrappers" | 49 | PACKAGECONFIG ??= "tcp-wrappers" |
50 | PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,,tcp-wrappers" | 50 | PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,,tcp-wrappers" |
@@ -114,7 +114,7 @@ ALLOW_EMPTY_${PN} = "1" | |||
114 | PACKAGES =+ "${PN}-keygen ${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-sftp ${PN}-misc ${PN}-sftp-server" | 114 | PACKAGES =+ "${PN}-keygen ${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-sftp ${PN}-misc ${PN}-sftp-server" |
115 | FILES_${PN}-scp = "${bindir}/scp.${BPN}" | 115 | FILES_${PN}-scp = "${bindir}/scp.${BPN}" |
116 | FILES_${PN}-ssh = "${bindir}/ssh.${BPN} ${sysconfdir}/ssh/ssh_config" | 116 | FILES_${PN}-ssh = "${bindir}/ssh.${BPN} ${sysconfdir}/ssh/ssh_config" |
117 | FILES_${PN}-sshd = "${sbindir}/sshd ${sysconfdir}/init.d/sshd" | 117 | FILES_${PN}-sshd = "${sbindir}/sshd ${sysconfdir}/init.d/sshd ${systemd_unitdir}/system" |
118 | FILES_${PN}-sshd += "${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config ${sysconfdir}/ssh/sshd_config_readonly ${sysconfdir}/default/volatiles/99_sshd" | 118 | FILES_${PN}-sshd += "${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config ${sysconfdir}/ssh/sshd_config_readonly ${sysconfdir}/default/volatiles/99_sshd" |
119 | FILES_${PN}-sftp = "${bindir}/sftp" | 119 | FILES_${PN}-sftp = "${bindir}/sftp" |
120 | FILES_${PN}-sftp-server = "${libexecdir}/sftp-server" | 120 | FILES_${PN}-sftp-server = "${libexecdir}/sftp-server" |