summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/fans/phosphor-fan-presence-config.bb
blob: d1deb86a33fdc34eb70e87d44b2598a1b6804ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Provides the config file for the phosphor-fan-presence application.
# The default config file is empty.  To provide a real one,
# append this recipe in a layer, add:
# FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
# and provide a config file.
SUMMARY = "Config file for phosphor-fan-presence"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
PROVIDES += "virtual/phosphor-fan-presence-config"
PR = "r1"

SRC_URI = "file://config.yaml"

S = "${WORKDIR}"

inherit allarch
inherit phosphor-fan

do_install() {
        install -D config.yaml ${D}${presence_datadir}/config.yaml
}

FILES:${PN} += "${presence_datadir}/config.yaml"