diff options
Diffstat (limited to 'meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend')
-rw-r--r-- | meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend index a4590657d..fe5c91906 100644 --- a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.1p1.bbappend | |||
@@ -2,9 +2,18 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | |||
2 | 2 | ||
3 | PRINC := "${@int(PRINC) + 1}" | 3 | PRINC := "${@int(PRINC) + 1}" |
4 | 4 | ||
5 | SYSTEMD_PACKAGES = "openssh-sshd-systemd" | 5 | SYSTEMD_PACKAGES = "openssh-sshd" |
6 | SYSTEMD_SERVICE = "sshd.socket" | 6 | SYSTEMD_SERVICE_openssh-sshd = "sshd.socket" |
7 | FILES_openssh-sshd += "${systemd_unitdir}/system/sshd.socket" | ||
8 | RPROVIDES_openssh-sshd += "openssh-sshd-systemd" | ||
7 | 9 | ||
8 | inherit systemd | 10 | inherit systemd |
9 | 11 | ||
10 | SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service" | 12 | SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service" |
13 | do_install_append() { | ||
14 | install -d ${D}${systemd_unitdir}/system | ||
15 | install -m 0644 ${WORKDIR}/sshd.socket ${D}${systemd_unitdir}/system | ||
16 | install -m 0644 ${WORKDIR}/sshd@.service ${D}${systemd_unitdir}/system | ||
17 | install -m 0644 ${WORKDIR}/sshdgenkeys.service ${D}${systemd_unitdir}/system | ||
18 | } | ||
19 | |||