summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor
diff options
context:
space:
mode:
authorRatan <ratagupt@in.ibm.com>2016-11-17 16:06:21 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-01-12 15:23:39 +0000
commit269c5e05f2a65e3f01db1c719500812185562be4 (patch)
tree329ba1711379b39f08c12e80d1c0716bd56284c0 /meta-phosphor/common/recipes-phosphor
parente4c152ae356094a361322661e7ebe9c80d3721ae (diff)
downloadtalos-openbmc-269c5e05f2a65e3f01db1c719500812185562be4.tar.gz
talos-openbmc-269c5e05f2a65e3f01db1c719500812185562be4.zip
slpd-lite:Create Recipe
-Create the slpd-lite.conf through the bbclass -Create the service file which starts the slpd Change-Id: I10b23bb81492270337e02470c75094eff30b4190 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/slpd-lite/slpd-lite.bb19
-rw-r--r--meta-phosphor/common/recipes-phosphor/slpd-lite/slpd-lite/slpd-lite.service11
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/slpd-lite/slpd-lite.bb b/meta-phosphor/common/recipes-phosphor/slpd-lite/slpd-lite.bb
new file mode 100644
index 000000000..0f3ac5c2f
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/slpd-lite/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/slpd-lite/slpd-lite/slpd-lite.service b/meta-phosphor/common/recipes-phosphor/slpd-lite/slpd-lite/slpd-lite.service
new file mode 100644
index 000000000..02d593c19
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/slpd-lite/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