blob: b02ea28aa3c0779ae456f36adcd6a76700a1b11d [file] [log] [blame]
Tom Josephc0794e72017-07-12 17:13:30 +05301SUMMARY = "Recipe to create AssetTag property in inventory manager"
2PR = "r1"
Patrick Venture2bc04792018-11-03 16:33:29 -07003LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Tom Josephc0794e72017-07-12 17:13:30 +05305
6inherit native
Tom Josephc0794e72017-07-12 17:13:30 +05307inherit phosphor-inventory-manager
8
9PROVIDES += "virtual/phosphor-inventory-manager-assettag"
10
11SRC_URI += "file://assettag.yaml"
12
13S = "${WORKDIR}"
14
15do_install() {
16 # This recipe would provide the yaml for inventory manager to
17 # create AssetTag property at startup
18
Patrick Williamsa0179fb2017-08-28 16:28:45 -050019 install -d ${D}${base_datadir}/events.d/
20 install assettag.yaml ${D}${base_datadir}/events.d/assettag.yaml
Tom Josephc0794e72017-07-12 17:13:30 +053021}