diff options
author | Patrick Venture <venture@google.com> | 2018-10-26 19:58:28 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-27 21:29:03 +0300 |
commit | 8f93a297d92e6013bced5bb749929af11eedcb3c (patch) | |
tree | 7148ab922d9cc8dcbe6cd99ec33c994a9541eebf /meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-inventory-mrw-native_git.bb | |
parent | 713c4d761c2352201d474234739df788699c6f27 (diff) | |
download | openbmc-8f93a297d92e6013bced5bb749929af11eedcb3c.tar.xz |
meta-phosphor: ipmi-fru-*inventory-mrw-native: rename as git
Rename ipmi-fru-*-inventory-mrw-native as git per OE norms.
(From meta-phosphor rev: 94f9c6029a21567b491bece1e7037251da67ff18)
Change-Id: I12428d5f229c43c31d0e018056177e8865981876
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-inventory-mrw-native_git.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-inventory-mrw-native_git.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-inventory-mrw-native_git.bb b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-inventory-mrw-native_git.bb new file mode 100644 index 000000000..0f993e8e7 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-fru-read-inventory-mrw-native_git.bb @@ -0,0 +1,28 @@ +SUMMARY = "Generate inventory map for phosphor-ipmi-host from a MRW." +PR = "r1" +PV = "1.0+git${SRCPV}" + +inherit native +inherit phosphor-ipmi-host +inherit mrw-xml + +require phosphor-ipmi-host.inc + +DEPENDS += "mrw-native mrw-perl-tools-native" + +DEPENDS += "virtual/phosphor-ipmi-fru-hostfw-config" +PROVIDES += "virtual/phosphor-ipmi-fru-read-inventory" + +S = "${WORKDIR}/git" + +do_install() { + + DEST=${D}${config_datadir} + install -d ${DEST} + + ${bindir}/perl-native/perl \ + ${bindir}/gen_ipmi_fru.pl \ + -i ${mrw_datadir}/${MRW_XML} \ + -m ${hostfw_datadir}/config.yaml \ + -o ${DEST}/config.yaml +} |