blob: cd3b19ae541182bb80ab016181c7409018232580 [file] [log] [blame]
Matthew Barth9c525872019-06-12 10:18:39 -05001SUMMARY = "Fan policy configurations for meta-witherspoon machines"
Matthew Barthbc7b43f2019-06-13 12:06:11 -05002PR = "r1"
3LICENSE = "Apache-2.0"
Brad Bishopd77088a2019-09-13 13:06:15 -04004LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Matthew Barthbc7b43f2019-06-13 12:06:11 -05005
6inherit allarch
7inherit phosphor-dbus-monitor
8
Adriana Kobylakb96c7502021-08-06 16:25:30 +00009FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
Matthew Barthbc7b43f2019-06-13 12:06:11 -050010
Patrick Rudolph2a952d42023-05-03 09:38:51 +020011SRC_URI:append:df-openpower = " file://air-cooled.yaml"
Adriana Kobylakb96c7502021-08-06 16:25:30 +000012SRC_URI:append:ibm-ac-server = " file://water-cooled.yaml"
Patrick Rudolph2a952d42023-05-03 09:38:51 +020013SRC_URI:append:df-openpower = " file://fan-errors.yaml"
Matthew Barthbc7b43f2019-06-13 12:06:11 -050014
Adriana Kobylakb96c7502021-08-06 16:25:30 +000015SRC_URI:remove:p10bmc = "file://air-cooled.yaml"
16SRC_URI:remove:p10bmc = "file://fan-errors.yaml"
Matt Spinlerf3e7cee2021-01-19 14:09:34 -060017
Adriana Kobylakb96c7502021-08-06 16:25:30 +000018do_install:append:ibm-ac-server() {
Matthew Barthbc7b43f2019-06-13 12:06:11 -050019 install -D ${WORKDIR}/air-cooled.yaml ${D}${config_dir}/air-cooled.yaml
20 install -D ${WORKDIR}/water-cooled.yaml ${D}${config_dir}/water-cooled.yaml
21 install -D ${WORKDIR}/fan-errors.yaml ${D}${config_dir}/fan-errors.yaml
22}
23
Ben_Paifba51212019-08-05 18:34:34 +080024
Adriana Kobylakb96c7502021-08-06 16:25:30 +000025FILES:${PN} += "${config_dir}/air-cooled.yaml"
26FILES:${PN}:append:ibm-ac-server = " ${config_dir}/water-cooled.yaml"
27FILES:${PN} += "${config_dir}/fan-errors.yaml"
Matt Spinlerf3e7cee2021-01-19 14:09:34 -060028
Adriana Kobylakb96c7502021-08-06 16:25:30 +000029FILES:${PN}:remove:p10bmc = "${config_dir}/air-cooled.yaml"
30FILES:${PN}:remove:p10bmc = "${config_dir}/fan-errors.yaml"