From 194ff4f1f5d44b12e9cb06ddafa6adb20174a13c Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Wed, 22 Aug 2018 21:40:54 -0400 Subject: [Subtree] Bring openbmc machines to top level The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../vpd/openpower-fru-inventory-example-native.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-openpower/common/recipes-phosphor/vpd/openpower-fru-inventory-example-native.bb (limited to 'meta-openpower/common/recipes-phosphor/vpd/openpower-fru-inventory-example-native.bb') diff --git a/meta-openpower/common/recipes-phosphor/vpd/openpower-fru-inventory-example-native.bb b/meta-openpower/common/recipes-phosphor/vpd/openpower-fru-inventory-example-native.bb new file mode 100644 index 000000000..8f9bd050b --- /dev/null +++ b/meta-openpower/common/recipes-phosphor/vpd/openpower-fru-inventory-example-native.bb @@ -0,0 +1,22 @@ +SUMMARY = "Inventory config for openpower-vpd-parser" +PR = "r1" + +inherit native +inherit obmc-phosphor-license +inherit openpower-fru-vpd + +SRC_URI += "file://inventory" + +PROVIDES += "virtual/openpower-fru-inventory" + +S = "${WORKDIR}" + +do_install() { + # This recipe is supposed to create a systemd environment file + # with values for FRU types and paths. This example recipe + # uses a pre-defined file ($PN/inventory). + + DEST=${D}${inventory_datadir_native} + install -d ${DEST} + install inventory ${DEST} +} -- cgit v1.2.3