Tom Joseph | 8af3309 | 2017-07-12 17:13:30 +0530 | [diff] [blame] | 1 | SUMMARY = "Recipe to create AssetTag property in inventory manager" |
| 2 | PR = "r1" |
| 3 | |
| 4 | inherit native |
| 5 | inherit obmc-phosphor-license |
| 6 | inherit phosphor-inventory-manager |
| 7 | |
| 8 | PROVIDES += "virtual/phosphor-inventory-manager-assettag" |
| 9 | |
| 10 | SRC_URI += "file://assettag.yaml" |
| 11 | |
| 12 | S = "${WORKDIR}" |
| 13 | |
| 14 | do_install() { |
| 15 | # This recipe would provide the yaml for inventory manager to |
| 16 | # create AssetTag property at startup |
| 17 | |
Patrick Williams | e5cfa06 | 2017-08-28 16:28:45 -0500 | [diff] [blame] | 18 | install -d ${D}${base_datadir}/events.d/ |
| 19 | install assettag.yaml ${D}${base_datadir}/events.d/assettag.yaml |
Tom Joseph | 8af3309 | 2017-07-12 17:13:30 +0530 | [diff] [blame] | 20 | } |