blob: e53d9c0557ef7f73e62fa2d0381525bf4dff51ea [file] [log] [blame]
Matthew Barth6275fda2019-06-12 10:18:39 -05001SUMMARY = "Fan policy configurations for meta-witherspoon machines"
Matthew Barth0ca32c62019-06-13 12:06:11 -05002PR = "r1"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${IBMBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
5
6inherit allarch
7inherit phosphor-dbus-monitor
8
9FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
10
11SRC_URI += "file://air-cooled.yaml"
Ben_Pai949f9142019-08-05 18:34:34 +080012SRC_URI_append_ibm-ac-server = " file://water-cooled.yaml"
Matthew Barth0ca32c62019-06-13 12:06:11 -050013SRC_URI += "file://fan-errors.yaml"
14
Ben_Pai949f9142019-08-05 18:34:34 +080015do_install_append_ibm-ac-server() {
Matthew Barth0ca32c62019-06-13 12:06:11 -050016 install -D ${WORKDIR}/air-cooled.yaml ${D}${config_dir}/air-cooled.yaml
17 install -D ${WORKDIR}/water-cooled.yaml ${D}${config_dir}/water-cooled.yaml
18 install -D ${WORKDIR}/fan-errors.yaml ${D}${config_dir}/fan-errors.yaml
19}
20
Ben_Pai949f9142019-08-05 18:34:34 +080021do_install_append_mihawk() {
22 install -D ${WORKDIR}/air-cooled.yaml ${D}${config_dir}/air-cooled.yaml
23 install -D ${WORKDIR}/fan-errors.yaml ${D}${config_dir}/fan-errors.yaml
24}
25
Matthew Barth0ca32c62019-06-13 12:06:11 -050026FILES_${PN} += "${config_dir}/air-cooled.yaml"
Ben_Pai949f9142019-08-05 18:34:34 +080027FILES_${PN}_append_ibm-ac-server = " ${config_dir}/water-cooled.yaml"
Matthew Barth0ca32c62019-06-13 12:06:11 -050028FILES_${PN} += "${config_dir}/fan-errors.yaml"