summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/host
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-03-30 11:23:16 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-05-22 00:25:02 +0000
commit7ebe026d06f6ac03262af85d4672fa36005ae050 (patch)
treec1c9c01852da6f5a20ce816926abbb3905016599 /meta-phosphor/common/recipes-phosphor/host
parent15ef0bec71525dd3cd30ff3238e1bc410edcfce4 (diff)
downloadtalos-openbmc-7ebe026d06f6ac03262af85d4672fa36005ae050.tar.gz
talos-openbmc-7ebe026d06f6ac03262af85d4672fa36005ae050.zip
recipes-phosphor: host: phosphor-host-postd recipe
Initial recipe for building phosphor-host-postd. Change-Id: I859fc11fbd779ec116299a7ce3ba19f14ae3f202 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/host')
-rw-r--r--meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd.bb20
-rw-r--r--meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd.inc6
-rw-r--r--meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd/lpcsnoop.service10
3 files changed, 36 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd.bb b/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd.bb
new file mode 100644
index 000000000..3edf1e7fc
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Phosphor OpenBMC Post Code Daemon"
+DESCRIPTION = "Phosphor OpenBMC Post Code Daemon"
+PR = "r1"
+
+inherit autotools pkgconfig
+inherit obmc-phosphor-systemd
+
+DEPENDS += "autoconf-archive-native"
+DEPENDS += "sdbusplus"
+DEPENDS += "phosphor-dbus-interfaces"
+DEPENDS += "systemd"
+
+RDEPENDS_${PN} += "sdbusplus phosphor-dbus-interfaces"
+
+SYSTEMD_SERVICE_${PN} += "lpcsnoop.service"
+
+require ${PN}.inc
+
+S = "${WORKDIR}/git"
+
diff --git a/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd.inc b/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd.inc
new file mode 100644
index 000000000..ef68f343f
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd.inc
@@ -0,0 +1,6 @@
+HOMEPAGE = "http://github.com/openbmc/phosphor-host-postd"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+SRC_URI += "git://github.com/openbmc/phosphor-host-postd"
+SRCREV = "3356975850f0c771269c326304d41aea89d66bdb"
+
diff --git a/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd/lpcsnoop.service b/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd/lpcsnoop.service
new file mode 100644
index 000000000..23dfd98af
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/host/phosphor-host-postd/lpcsnoop.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=LPC Snoop Daemon
+After=systemd-modules-load.service
+
+[Service]
+Restart=always
+ExecStart={sbindir}/snoopd
+
+[Install]
+WantedBy={SYSTEMD_DEFAULT_TARGET}
OpenPOWER on IntegriCloud