summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Fair <benjaminfair@google.com>2020-04-10 23:01:48 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-04-16 02:22:11 +0300
commit526724c24f7dde9a63a4ecfb3faca946cf02261d (patch)
treefe90632e24987bd5caf555f7558168a58712aef2
parent67644eb49097c08c18bd070f28200fbc2cbbe752 (diff)
downloadopenbmc-526724c24f7dde9a63a4ecfb3faca946cf02261d.tar.xz
meta-phosphor: add phosphor-nvme recipe
This recipe builds and installs the Phosphor NVMe monitor daemon and sets up the service file to start it. (From meta-phosphor rev: fc8a45a7ebc14476f8e6d0972ff1ea4ad4756023) Change-Id: I298588fc581d2ab3a58e883a98977390ad6fa1ce Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rw-r--r--meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb b/meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb
new file mode 100644
index 000000000..c5bf0ba03
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/sensors/phosphor-nvme_git.bb
@@ -0,0 +1,21 @@
+SUMMARY = "NVMe Drive Manager"
+DESCRIPTION = "Daemon to monitor and report the status of NVMe drives"
+HOMEPAGE = "https://github.com/openbmc/phosphor-nvme"
+PR = "r1"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+inherit meson pkgconfig
+inherit systemd
+
+DEPENDS += "sdbusplus"
+DEPENDS += "phosphor-dbus-interfaces"
+DEPENDS += "sdeventplus"
+DEPENDS += "phosphor-logging"
+DEPENDS += "nlohmann-json"
+
+SRC_URI = "git://github.com/openbmc/phosphor-nvme.git;protocol=git"
+SRCREV = "fc8472c692aa58b9a03999f6e5d0e73130606705"
+S = "${WORKDIR}/git"
+
+SYSTEMD_SERVICE_${PN} = "xyz.openbmc_project.nvme.manager.service"