Tom Joseph | c0794e7 | 2017-07-12 17:13:30 +0530 | [diff] [blame] | 1 | SUMMARY = "Recipe to create AssetTag property in inventory manager" |
| 2 | PR = "r1" |
Patrick Venture | 2bc0479 | 2018-11-03 16:33:29 -0700 | [diff] [blame^] | 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Tom Joseph | c0794e7 | 2017-07-12 17:13:30 +0530 | [diff] [blame] | 5 | |
| 6 | inherit native |
Tom Joseph | c0794e7 | 2017-07-12 17:13:30 +0530 | [diff] [blame] | 7 | inherit phosphor-inventory-manager |
| 8 | |
| 9 | PROVIDES += "virtual/phosphor-inventory-manager-assettag" |
| 10 | |
| 11 | SRC_URI += "file://assettag.yaml" |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_install() { |
| 16 | # This recipe would provide the yaml for inventory manager to |
| 17 | # create AssetTag property at startup |
| 18 | |
Patrick Williams | a0179fb | 2017-08-28 16:28:45 -0500 | [diff] [blame] | 19 | install -d ${D}${base_datadir}/events.d/ |
| 20 | install assettag.yaml ${D}${base_datadir}/events.d/assettag.yaml |
Tom Joseph | c0794e7 | 2017-07-12 17:13:30 +0530 | [diff] [blame] | 21 | } |