Deepak Kodihalli | ba5ce78 | 2017-02-05 10:10:44 -0600 | [diff] [blame] | 1 | SUMMARY = "Inventory config for openpower-vpd-parser" |
| 2 | PR = "r1" |
Brad Bishop | 2879d32 | 2018-11-07 14:45:23 -0500 | [diff] [blame^] | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Deepak Kodihalli | ba5ce78 | 2017-02-05 10:10:44 -0600 | [diff] [blame] | 5 | |
| 6 | inherit native |
Deepak Kodihalli | ba5ce78 | 2017-02-05 10:10:44 -0600 | [diff] [blame] | 7 | inherit openpower-fru-vpd |
| 8 | |
| 9 | SRC_URI += "file://inventory" |
| 10 | |
| 11 | PROVIDES += "virtual/openpower-fru-inventory" |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_install() { |
| 16 | # This recipe is supposed to create a systemd environment file |
| 17 | # with values for FRU types and paths. This example recipe |
| 18 | # uses a pre-defined file ($PN/inventory). |
| 19 | |
| 20 | DEST=${D}${inventory_datadir_native} |
| 21 | install -d ${DEST} |
| 22 | install inventory ${DEST} |
| 23 | } |