aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2012-06-10 21:46:56 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-07-16 09:39:07 +0200
commit0cee7e28f0ad77c8da7067eda7794cdd4576c7e2 (patch)
treefa60324b095f3d1eeee83c92a44d9d44f5ca303c /meta-oe/recipes-core
parent42e00e8ffd3088050716a5fe1c7da2cc6cf9787c (diff)
downloadmeta-openembedded-0cee7e28f0ad77c8da7067eda7794cdd4576c7e2.tar.gz
meta-openembedded-0cee7e28f0ad77c8da7067eda7794cdd4576c7e2.tar.bz2
meta-openembedded-0cee7e28f0ad77c8da7067eda7794cdd4576c7e2.zip
dropbear: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/dropbear/dropbear/dropbear.socket10
-rw-r--r--meta-oe/recipes-core/dropbear/dropbear/dropbear@.service9
-rw-r--r--meta-oe/recipes-core/dropbear/dropbear/dropbearkey.service10
-rw-r--r--meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend17
4 files changed, 0 insertions, 46 deletions
diff --git a/meta-oe/recipes-core/dropbear/dropbear/dropbear.socket b/meta-oe/recipes-core/dropbear/dropbear/dropbear.socket
deleted file mode 100644
index e5c61b755..000000000
--- a/meta-oe/recipes-core/dropbear/dropbear/dropbear.socket
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Conflicts=dropbear.service
-
-[Socket]
-ListenStream=22
-Accept=yes
-
-[Install]
-WantedBy=sockets.target
-Also=dropbearkey.service
diff --git a/meta-oe/recipes-core/dropbear/dropbear/dropbear@.service b/meta-oe/recipes-core/dropbear/dropbear/dropbear@.service
deleted file mode 100644
index 4fba3f05c..000000000
--- a/meta-oe/recipes-core/dropbear/dropbear/dropbear@.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=SSH Per-Connection Server
-Requires=dropbearkey.service
-After=syslog.target dropbearkey.service
-
-[Service]
-ExecStart=-/usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -p 22
-ExecReload=/bin/kill -HUP $MAINPID
-StandardInput=socket
diff --git a/meta-oe/recipes-core/dropbear/dropbear/dropbearkey.service b/meta-oe/recipes-core/dropbear/dropbear/dropbearkey.service
deleted file mode 100644
index 7f03000eb..000000000
--- a/meta-oe/recipes-core/dropbear/dropbear/dropbearkey.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=SSH Key Generation
-ConditionPathExists=|!/etc/dropbear/dropbear_rsa_host_key
-
-[Service]
-ExecStart=/usr/sbin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target
diff --git a/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend b/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend
deleted file mode 100644
index fc5d0476a..000000000
--- a/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend
+++ /dev/null
@@ -1,17 +0,0 @@
-inherit systemd
-
-PRINC := "${@int(PRINC) + 2}"
-
-# look for files in the layer first
-FILESEXTRAPATHS := "${THISDIR}/${PN}"
-
-SRC_URI += "file://dropbearkey.service \
- file://dropbear@.service \
- file://dropbear.socket"
-
-SYSTEMD_PACKAGES = "${PN}-systemd"
-SYSTEMD_SERVICE_${PN}-systemd = "dropbear.socket"
-
-do_install_append() {
- ln -sf /dev/null ${D}${systemd_unitdir}/system/dropbear.service
-}