Matt Spinler | 5934979 | 2016-08-11 14:16:42 -0500 | [diff] [blame] | 1 | SUMMARY = "Palmetto System Inventory" |
| 2 | DESCRIPTION = "Provides the inventory file for Palmetto" |
| 3 | PR = "r1" |
| 4 | |
| 5 | inherit obmc-phosphor-license |
| 6 | inherit allarch |
| 7 | |
| 8 | RPROVIDES_${PN} = "virtual-system-inventory-data" |
| 9 | |
| 10 | SRC_URI += "file://palmetto_inventory.json" |
| 11 | |
| 12 | FILES_${PN} += "${datadir}/inventory" |
| 13 | |
| 14 | do_install() { |
| 15 | install -d ${D}${datadir}/inventory |
| 16 | install -m 0644 palmetto_inventory.json ${D}${datadir}/inventory/inventory.json |
| 17 | } |
| 18 | |
| 19 | S = "${WORKDIR}" |