[PATCH openbmc] Add ipmi fru write to dbus

Patrick Williams patrick at stwcx.xyz
Tue Nov 3 01:46:08 AEDT 2015


On Mon, Nov 02, 2015 at 07:11:49AM -0600, OpenBMC Patches wrote:
> From: Chris Austen <austenc at 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 at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20151102/c7772679/attachment-0001.sig>


More information about the openbmc mailing list