summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu.bb
blob: e627c4e9390c01713aa9692aa9ae26a47aa32154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SUMMARY = "Add Cpu interface for inventory manager"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

inherit allarch
inherit phosphor-inventory-manager

PROVIDES += "virtual/phosphor-inventory-manager-cpu"
S = "${WORKDIR}"

SRC_URI = "file://cpu.yaml"

do_install() {
        install -D cpu.yaml ${D}${base_datadir}/events.d/cpu.yaml
}

FILES:${PN} += "${base_datadir}/events.d/cpu.yaml"