* [PATCH openbmc] Add ipmi fru write to dbus
@ 2015-11-02 13:11 OpenBMC Patches
2015-11-02 13:11 ` OpenBMC Patches
0 siblings, 1 reply; 3+ messages in thread
From: OpenBMC Patches @ 2015-11-02 13:11 UTC (permalink / raw)
To: openbmc
x
https://github.com/openbmc/openbmc/pull/65
Chris Austen (1):
Add ipmi fru write to dbus
.../conf/machine/include/openpower.inc | 1 +
.../recipes-phosphor/host-ipmid/host-ipmid-fru.bb | 31 ++++++++++++++++++++++
meta-phosphor/conf/machine/include/sample.inc | 1 +
3 files changed, 33 insertions(+)
create mode 100644 meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
--
2.6.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH openbmc] Add ipmi fru write to dbus
2015-11-02 13:11 [PATCH openbmc] Add ipmi fru write to dbus OpenBMC Patches
@ 2015-11-02 13:11 ` OpenBMC Patches
2015-11-02 14:46 ` Patrick Williams
0 siblings, 1 reply; 3+ messages in thread
From: OpenBMC Patches @ 2015-11-02 13:11 UTC (permalink / raw)
To: openbmc
From: Chris Austen <austenc@us.ibm.com>
x
---
.../conf/machine/include/openpower.inc | 1 +
.../recipes-phosphor/host-ipmid/host-ipmid-fru.bb | 31 ++++++++++++++++++++++
meta-phosphor/conf/machine/include/sample.inc | 1 +
3 files changed, 33 insertions(+)
create mode 100644 meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
diff --git a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
index 820b0eb..48edd92 100644
--- a/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
+++ b/meta-openbmc-machines/meta-openpower/conf/machine/include/openpower.inc
@@ -20,6 +20,7 @@ VIRTUAL-RUNTIME_obmc-phosphor-flash-ctl = " \
"
VIRTUAL-RUNTIME_obmc-phosphor-ipmi-parsers = " \
host-ipmid-oem \
+ host-ipmid-fru \
"
PREFERRED_PROVIDER_virtual/obmc-phosphor-host-ipmi-hw = "btbridged"
PREFERRED_PROVIDER_virtual/obmc-phosphor-chassis-mgmt = "skeleton"
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
new file mode 100644
index 0000000..a4dcfab
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Phosphor OpenBMC WriteFRU for OpenPOWER systems"
+DESCRIPTION = "Phosphor OpenBMC WriteFRU for OpenPOWER based systems"
+HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser"
+PR = "r1"
+
+RRECOMMENDS_${PN} = "virtual/obmc-phosphor-host-ipmi-hw"
+
+inherit obmc-phosphor-license
+
+DEPENDS += "systemd \
+ host-ipmid \
+ "
+
+
+RDEPENDS_${PN} += "libsystemd"
+
+TARGET_CFLAGS += "-std=gnu++14"
+
+SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"
+
+SRCREV = "675272789d4dba9a8c308f3cb1f7deb8b5b2ec41"
+
+FILES_${PN} += "${libdir}/host-ipmid/*.so"
+FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+ install -m 0755 -d ${D}${libdir}/host-ipmid
+ install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/
+}
diff --git a/meta-phosphor/conf/machine/include/sample.inc b/meta-phosphor/conf/machine/include/sample.inc
index 2b8f986..040cc57 100644
--- a/meta-phosphor/conf/machine/include/sample.inc
+++ b/meta-phosphor/conf/machine/include/sample.inc
@@ -19,6 +19,7 @@ VIRTUAL-RUNTIME_obmc-phosphor-flash-ctl = " \
"
VIRTUAL-RUNTIME_obmc-phosphor-ipmi-parsers = " \
host-ipmid-oem \
+ host-ipmid-fru \
"
PREFERRED_PROVIDER_virtual/obmc-phosphor-host-ipmi-hw ?= "host-ipmi-hw-example"
--
2.6.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH openbmc] Add ipmi fru write to dbus
2015-11-02 13:11 ` OpenBMC Patches
@ 2015-11-02 14:46 ` Patrick Williams
0 siblings, 0 replies; 3+ messages in thread
From: Patrick Williams @ 2015-11-02 14:46 UTC (permalink / raw)
To: OpenBMC Patches; +Cc: openbmc
[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]
On Mon, Nov 02, 2015 at 07:11:49AM -0600, OpenBMC Patches wrote:
> From: Chris Austen <austenc@us.ibm.com>
> diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
> new file mode 100644
> index 0000000..a4dcfab
> --- /dev/null
> +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
> @@ -0,0 +1,31 @@
> +SUMMARY = "Phosphor OpenBMC WriteFRU for OpenPOWER systems"
> +DESCRIPTION = "Phosphor OpenBMC WriteFRU for OpenPOWER based systems"
> +HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser"
> +PR = "r1"
> +
> +RRECOMMENDS_${PN} = "virtual/obmc-phosphor-host-ipmi-hw"
> +
> +inherit obmc-phosphor-license
> +
> +DEPENDS += "systemd \
> + host-ipmid \
> + "
> +
> +
> +RDEPENDS_${PN} += "libsystemd"
> +
> +TARGET_CFLAGS += "-std=gnu++14"
Does the makefile fail to compile without this? It shouldn't. We need
to get that figured out if it does.
> +FILES_${PN} += "${libdir}/host-ipmid/*.so"
> +FILES_${PN}-dbg += "${libdir}/host-ipmid/.debug"
Are these required?
> +
> +S = "${WORKDIR}/git"
> +
> +do_install() {
> + install -m 0755 -d ${D}${libdir}/host-ipmid
> + install -m 0755 ${S}/*.so ${D}${libdir}/host-ipmid/
> +}
We should use 'make install' for this.
> _______________________________________________
> openbmc mailing list
> openbmc@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
--
Patrick Williams
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-02 14:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-02 13:11 [PATCH openbmc] Add ipmi fru write to dbus OpenBMC Patches
2015-11-02 13:11 ` OpenBMC Patches
2015-11-02 14:46 ` Patrick Williams
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.