aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend')
-rw-r--r--meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend b/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend
new file mode 100644
index 000000000..fc5d0476a
--- /dev/null
+++ b/meta-oe/recipes-core/dropbear/dropbear_2012.55.bbappend
@@ -0,0 +1,17 @@
+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
+}