Brad Bishop | 593bd47 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 1 | SUMMARY = "Managed inventory with Phosphor inventory manager - example" |
| 2 | PR = "r1" |
| 3 | |
| 4 | inherit native |
Brad Bishop | adb7ebe | 2017-01-28 15:28:17 -0500 | [diff] [blame^] | 5 | inherit phosphor-inventory-manager |
Brad Bishop | 593bd47 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 6 | |
| 7 | require phosphor-inventory-manager.inc |
| 8 | |
| 9 | S = "${WORKDIR}/git" |
| 10 | |
| 11 | do_install() { |
| 12 | SRC=${S}/example |
Brad Bishop | adb7ebe | 2017-01-28 15:28:17 -0500 | [diff] [blame^] | 13 | DEST=${D}${base_datadir} |
Brad Bishop | 593bd47 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 14 | |
| 15 | for f in `find $SRC -type f -printf "%P\n"`; do |
Brad Bishop | adb7ebe | 2017-01-28 15:28:17 -0500 | [diff] [blame^] | 16 | install -D ${SRC}/$f ${DEST}/$f |
Brad Bishop | 593bd47 | 2017-01-12 22:12:01 -0500 | [diff] [blame] | 17 | done |
| 18 | } |