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 | ||||
5 | |||||
6 | require phosphor-inventory-manager.inc | ||||
7 | |||||
8 | S = "${WORKDIR}/git" | ||||
9 | |||||
10 | do_install() { | ||||
11 | SRC=${S}/example | ||||
12 | DEST=${D}${datadir}/phosphor-inventory-manager | ||||
13 | |||||
14 | for f in `find $SRC -type f -printf "%P\n"`; do | ||||
15 | install -D ${SRC}/$f $DEST/$f | ||||
16 | done | ||||
17 | } |