diff options
author | Brad Bishop <bradleyb@us.ibm.com> | 2016-04-15 16:53:23 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@us.ibm.com> | 2016-04-30 00:39:56 +0300 |
commit | 7fe43dbd0852876a174823359b1e1f951c91edbc (patch) | |
tree | aa2716e3d35146afae0c5dd9d8b73d685a6f480d | |
parent | 570264ff0d9606a88a68486a1ce82e2d6f512828 (diff) | |
download | openbmc-7fe43dbd0852876a174823359b1e1f951c91edbc.tar.xz |
New recipe for openpower-inventory-upload
This script uploads the BMC inventory to a partition in PNOR
on POWER systems for inclusion in the host device tree.
3 files changed, 26 insertions, 1 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/images/obmc-phosphor-image.bbappend new file mode 100644 index 0000000000..7b8aa6f87d --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/images/obmc-phosphor-image.bbappend @@ -0,0 +1,3 @@ +IMAGE_INSTALL += " \ + inventory-upload \ +" diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload.bb new file mode 100644 index 0000000000..8c0bd34e32 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/inventory-upload/inventory-upload.bb @@ -0,0 +1,20 @@ +SUMMARY = "Inventory upload" +DESCRIPTION = "Inventory upload." +HOMEPAGE = "http://github.com/openbmc/openpower-inventory-upload" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +inherit allarch +inherit setuptools + +RDEPENDS_${PN} += " \ + pyphosphor \ + dtc \ + " + +SRC_URI += "git://github.com/openbmc/openpower-inventory-upload" + +SRCREV = "5909e7859a1a56bdc902cf774093d9fae29612ea" + +S = "${WORKDIR}/git" diff --git a/meta-openbmc-machines/meta-openpower/conf/layer.conf b/meta-openbmc-machines/meta-openpower/conf/layer.conf index 46c5a5dfb6..6824543db2 100644 --- a/meta-openbmc-machines/meta-openpower/conf/layer.conf +++ b/meta-openbmc-machines/meta-openpower/conf/layer.conf @@ -1,8 +1,10 @@ # We have a conf and classes directory, add to BBPATH BBPATH .= ":${LAYERDIR}" +# We have recipes-* directories, add to BBFILES BBFILES += "${LAYERDIR}/common/recipes-*/*/*.bb \ ${LAYERDIR}/common/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "openpower" -BBFILE_PATTERN_openpower = "" +BBFILE_PATTERN_openpower = "^${LAYERDIR}/" +LAYERVERSION_openpower = "1" |