From fa46b781b709eaa4ea7ee4b35e71ce78aa0c003d Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Thu, 26 Jan 2017 08:45:41 -0500 Subject: Move slpd-lite to interfaces directory Change-Id: I1bfaf82547241269dca105e3df3f978a8540d415 Signed-off-by: Brad Bishop --- .../common/recipes-phosphor/interfaces/slpd-lite.bb | 19 +++++++++++++++++++ .../interfaces/slpd-lite/slpd-lite.service | 11 +++++++++++ 2 files changed, 30 insertions(+) create mode 100644 meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite.bb create mode 100644 meta-phosphor/common/recipes-phosphor/interfaces/slpd-lite/slpd-lite.service (limited to 'meta-phosphor/common/recipes-phosphor/interfaces') 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} -- cgit v1.2.1