summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/inventory/phosphor-inventory-manager-config-example-native.bb
blob: 880d5ac9bf3b06195050a1f363e98b4a99e38c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SUMMARY = "Managed inventory with Phosphor inventory manager - example"
PR = "r1"

inherit native

require phosphor-inventory-manager.inc

S = "${WORKDIR}/git"

do_install() {
        SRC=${S}/example
        DEST=${D}${datadir}/phosphor-inventory-manager

        for f in `find $SRC -type f -printf "%P\n"`; do
                install -D ${SRC}/$f $DEST/$f
        done
}