summaryrefslogtreecommitdiffstats
path: root/meta-systemd
diff options
context:
space:
mode:
authorShakeel, Muhammad <muhammad_shakeel@mentor.com>2013-09-12 15:28:52 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-09-17 19:06:27 +0200
commitc837f8a883f1ff9aa6fd4a313b151e8967a1d9cc (patch)
tree319585b3f235f9386b8f6d17a5b65e705b17ff03 /meta-systemd
parent19a61e1f0cbe9e59b7de9f36106a2f9e32f880fa (diff)
downloadmeta-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')
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd.socket11
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd@.service9
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshdgenkeys.service10
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/openssh/openssh_6.2p2.bbappend16
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]
2Conflicts=sshd.service
3
4[Socket]
5ExecStartPre=/bin/mkdir -p /var/run/sshd
6ListenStream=22
7Accept=yes
8
9[Install]
10WantedBy=sockets.target
11Also=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]
2Description=OpenSSH Per-Connection Daemon
3After=sshdgenkeys.service
4
5[Service]
6ExecStart=-/usr/sbin/sshd -i
7ExecReload=/bin/kill -HUP $MAINPID
8StandardInput=socket
9StandardError=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]
2Description=SSH Key Generation
3
4[Service]
5ExecStart=/usr/bin/ssh-keygen -A
6Type=oneshot
7RemainAfterExit=yes
8
9[Install]
10WantedBy=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 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3SYSTEMD_PACKAGES = "${PN}-sshd"
4SYSTEMD_SERVICE_${PN}-sshd = "sshd.socket"
5FILES_${PN}-sshd += "${systemd_unitdir}/system/sshd.socket"
6RPROVIDES_${PN}-sshd += "${PN}-sshd-systemd" 1RPROVIDES_${PN}-sshd += "${PN}-sshd-systemd"
7RREPLACES_${PN}-sshd += "${PN}-sshd-systemd" 2RREPLACES_${PN}-sshd += "${PN}-sshd-systemd"
8RCONFLICTS_${PN}-sshd += "${PN}-sshd-systemd" 3RCONFLICTS_${PN}-sshd += "${PN}-sshd-systemd"
9
10inherit systemd
11
12SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service"
13do_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