Deepak Kodihalli | f7a1a78 | 2017-02-20 00:21:12 -0600 | [diff] [blame] | 1 | SUMMARY = "FRU properties config for openpower-vpd-parser" |
| 2 | PR = "r1" |
Brad Bishop | fc00c75 | 2018-11-05 19:28:01 -0800 | [diff] [blame] | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${OPENPOWERBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Deepak Kodihalli | f7a1a78 | 2017-02-20 00:21:12 -0600 | [diff] [blame] | 5 | |
| 6 | inherit native |
Deepak Kodihalli | f7a1a78 | 2017-02-20 00:21:12 -0600 | [diff] [blame] | 7 | inherit openpower-fru-vpd |
| 8 | |
| 9 | SRC_URI += "file://example.yaml" |
| 10 | |
| 11 | PROVIDES += "virtual/openpower-fru-properties" |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_install() { |
| 16 | # This recipe is supposed to create an output yaml file with |
| 17 | # FRU property values extracted from the MRW. This example recipe |
| 18 | # provides a sample output file. |
| 19 | |
| 20 | DEST=${D}${properties_datadir} |
| 21 | install -d ${DEST} |
Ratan Gupta | a782550 | 2017-03-08 01:34:04 +0530 | [diff] [blame] | 22 | install example.yaml ${DEST}/out.yaml |
Deepak Kodihalli | f7a1a78 | 2017-02-20 00:21:12 -0600 | [diff] [blame] | 23 | } |