From c9ed720bc2866798691af342289c4b5d03203d33 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Fri, 14 Jun 2019 12:33:18 -0400 Subject: meta-yadro: add subtree Alexander Filippov (4): Initial commit meta-yadro: Initial version of meta-vesnin layer meta-yadro: Add readme files meta-vesnin: Use VESNIN DTS from kernel repo Change-Id: Ifa6f1ad3890af4800d27a76fb709e8f8d91295df Signed-off-by: Brad Bishop --- .../ipmi/vesnin-ipmi-inventory-map-native.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-yadro/meta-vesnin/recipes-phosphor/ipmi/vesnin-ipmi-inventory-map-native.bb (limited to 'meta-yadro/meta-vesnin/recipes-phosphor/ipmi/vesnin-ipmi-inventory-map-native.bb') diff --git a/meta-yadro/meta-vesnin/recipes-phosphor/ipmi/vesnin-ipmi-inventory-map-native.bb b/meta-yadro/meta-vesnin/recipes-phosphor/ipmi/vesnin-ipmi-inventory-map-native.bb new file mode 100644 index 000000000..efea9368a --- /dev/null +++ b/meta-yadro/meta-vesnin/recipes-phosphor/ipmi/vesnin-ipmi-inventory-map-native.bb @@ -0,0 +1,23 @@ +SUMMARY = "Vesnin IPMI to DBus Inventory mapping." +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${YADROBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit native +inherit phosphor-ipmi-fru + +SRC_URI += "file://config.yaml" + +PROVIDES += "virtual/phosphor-ipmi-fru-inventory" + +S = "${WORKDIR}" + +do_install() { + # TODO: install this to inventory_datadir + # after ipmi-fru-parser untangles the host + # firmware config from the machine inventory. + DEST=${D}${config_datadir} + + install -d ${DEST} + install config.yaml ${DEST} +} -- cgit v1.2.3