summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/interfaces
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-26 08:45:41 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-01-27 19:18:22 +0000
commitfa46b781b709eaa4ea7ee4b35e71ce78aa0c003d (patch)
tree102ad80558ae42980573432cf9372d0646e35a12 /meta-phosphor/common/recipes-phosphor/interfaces
parent2b9921e0f2ff88433dcb6c15469e774a1328a776 (diff)
downloadtalos-openbmc-fa46b781b709eaa4ea7ee4b35e71ce78aa0c003d.tar.gz
talos-openbmc-fa46b781b709eaa4ea7ee4b35e71ce78aa0c003d.zip
Move slpd-lite to interfaces directory
Change-Id: I1bfaf82547241269dca105e3df3f978a8540d415 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/interfaces')
-rw-r--r--meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb19
-rw-r--r--meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service11
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb b/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb
new file mode 100644
index 000000000..0f3ac5c2f
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Lightweight SLP Server"
+DESCRIPTION = "Lightweight Unicast-only SLP Server"
+HOMEPAGE = "http://github.com/openbmc/slpd-lite"
+PR = "r1"
+
+inherit autotools pkgconfig
+inherit obmc-phosphor-license
+inherit obmc-phosphor-systemd
+
+SYSTEMD_SERVICE_${PN} += "slpd-lite.service"
+
+DEPENDS += "systemd"
+DEPENDS += "autoconf-archive-native"
+
+SRC_URI += "git://github.com/openbmc/slpd-lite"
+
+SRCREV = "70b8527104281ffd927c087480fbe1168a75fe93"
+
+S = "${WORKDIR}/git"
diff --git a/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service b/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service
new file mode 100644
index 000000000..02d593c19
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Lightweight SLP Server
+
+After=network.target
+
+[Service]
+ExecStart={sbindir}/slpd
+Restart=always
+
+[Install]
+WantedBy={SYSTEMD_DEFAULT_TARGET}
OpenPOWER on IntegriCloud