blob: 938509cd58887f94a208641d183f58c41da82232 [file] [log] [blame]
Brad Bishop19ee51f2019-05-13 13:45:49 -04001# Provides the config file for the phosphor-fan-presence application.
2# The default config file is empty. To provide a real one,
3# append this recipe in a layer, add:
Matthew Bartha84cf3b2019-06-12 12:44:51 -05004# FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
Brad Bishop19ee51f2019-05-13 13:45:49 -04005# and provide a config file.
6
7SUMMARY = "Config file for phosphor-fan-presence"
8PR = "r1"
9LICENSE = "Apache-2.0"
Brad Bishopa1cee092019-09-13 12:14:05 -040010LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Brad Bishop19ee51f2019-05-13 13:45:49 -040011
12inherit allarch
13inherit phosphor-fan
14
15S = "${WORKDIR}"
16PROVIDES += "virtual/phosphor-fan-presence-config"
17
18SRC_URI = "file://config.yaml"
19
20do_install() {
21 install -D config.yaml ${D}${presence_datadir}/config.yaml
22}
23
24FILES_${PN} += "${presence_datadir}/config.yaml"