diff options
author | Shakeel, Muhammad <muhammad_shakeel@mentor.com> | 2013-09-12 15:28:52 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-09-17 19:06:27 +0200 |
commit | c837f8a883f1ff9aa6fd4a313b151e8967a1d9cc (patch) | |
tree | 319585b3f235f9386b8f6d17a5b65e705b17ff03 /meta-systemd | |
parent | 19a61e1f0cbe9e59b7de9f36106a2f9e32f880fa (diff) | |
download | meta-openembedded-c837f8a883f1ff9aa6fd4a313b151e8967a1d9cc.tar.gz |
openssh: Remove systemd support which is merged in oe-core
OE-Core has been updated to support openssh with systemd. Stuff here is
not required anymore.
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-systemd')
4 files changed, 0 insertions, 46 deletions
diff --git a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd.socket b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd.socket deleted file mode 100644 index 753a33b39..000000000 --- a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd.socket +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | [Unit] | ||
2 | Conflicts=sshd.service | ||
3 | |||
4 | [Socket] | ||
5 | ExecStartPre=/bin/mkdir -p /var/run/sshd | ||
6 | ListenStream=22 | ||
7 | Accept=yes | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=sockets.target | ||
11 | Also=sshdgenkeys.service | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd@.service b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd@.service deleted file mode 100644 index d118490bd..000000000 --- a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd@.service +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=OpenSSH Per-Connection Daemon | ||
3 | After=sshdgenkeys.service | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=-/usr/sbin/sshd -i | ||
7 | ExecReload=/bin/kill -HUP $MAINPID | ||
8 | StandardInput=socket | ||
9 | StandardError=syslog | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshdgenkeys.service b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshdgenkeys.service deleted file mode 100644 index c717214c5..000000000 --- a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshdgenkeys.service +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=SSH Key Generation | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=/usr/bin/ssh-keygen -A | ||
6 | Type=oneshot | ||
7 | RemainAfterExit=yes | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.2p2.bbappend b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.2p2.bbappend index d9ad9ba2a..dadbc1499 100644 --- a/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.2p2.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.2p2.bbappend | |||
@@ -1,19 +1,3 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SYSTEMD_PACKAGES = "${PN}-sshd" | ||
4 | SYSTEMD_SERVICE_${PN}-sshd = "sshd.socket" | ||
5 | FILES_${PN}-sshd += "${systemd_unitdir}/system/sshd.socket" | ||
6 | RPROVIDES_${PN}-sshd += "${PN}-sshd-systemd" | 1 | RPROVIDES_${PN}-sshd += "${PN}-sshd-systemd" |
7 | RREPLACES_${PN}-sshd += "${PN}-sshd-systemd" | 2 | RREPLACES_${PN}-sshd += "${PN}-sshd-systemd" |
8 | RCONFLICTS_${PN}-sshd += "${PN}-sshd-systemd" | 3 | RCONFLICTS_${PN}-sshd += "${PN}-sshd-systemd" |
9 | |||
10 | inherit systemd | ||
11 | |||
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 | |||