[PATCH openbmc 20/20] Adding IPMI Parser Library.
OpenBMC Patches
patches at stwcx.xyz
Wed Oct 21 06:19:58 AEDT 2015
From: Hariharasubramanian R <hramasub at in.ibm.com>
---
.../ipmi-fru-parser/ipmi-fru-parser.bb | 18 ++++++++++++++++++
.../packagegroups/packagegroup-obmc-phosphor-apps.bb | 1 +
2 files changed, 19 insertions(+)
create mode 100644 meta-phosphor/common/recipes-phosphor/ipmi-fru-parser/ipmi-fru-parser.bb
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi-fru-parser/ipmi-fru-parser.bb b/meta-phosphor/common/recipes-phosphor/ipmi-fru-parser/ipmi-fru-parser.bb
new file mode 100644
index 0000000..02ff308
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/ipmi-fru-parser/ipmi-fru-parser.bb
@@ -0,0 +1,18 @@
+SUMMARY = "OpenBMC IPMI FRU Parser"
+DESCRIPTION = "Parse the common/chassis/board/product areas of the FRU data into a VPD dictionary table."
+HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser"
+PR = "r1"
+
+inherit obmc-phosphor-license
+inherit obmc-phosphor-sdbus-service
+
+SRC_URI += "git://github.com/hramasub/ipmi-fru-parser"
+
+SRCREV = "e097f0cc58c64564ae059f9b02ecb574e4cbb666"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -m 0755 -d ${D}${libdir}/ipmi
+ install -m 0755 ${S}/*.so ${D}${libdir}/ipmi
+}
diff --git a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-apps.bb b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-apps.bb
index 4dbcdd3..54e5655 100644
--- a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-apps.bb
+++ b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-apps.bb
@@ -26,6 +26,7 @@ SUMMARY_packagegroup-obmc-phosphor-apps-extras = "Extra features"
RDEPENDS_packagegroup-obmc-phosphor-apps-extras = " \
rest-dbus \
host-ipmid \
+ ipmi-fru-parser \
"
SUMMARY_packagegroup-obmc-phosphor-apps-fan-mgmt = "Fan management support"
--
2.6.0
More information about the openbmc
mailing list