blob: 59e6347cc63605925e54f73d732d18b1fe9dc51f [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
9FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
10
11SRC_URI += "file://air-cooled.yaml"
Ben_Paifba51212019-08-05 18:34:34 +080012SRC_URI_append_ibm-ac-server = " file://water-cooled.yaml"
Matthew Barthbc7b43f2019-06-13 12:06:11 -050013SRC_URI += "file://fan-errors.yaml"
14
Matt Spinlerf3e7cee2021-01-19 14:09:34 -060015SRC_URI_remove_rainier = "file://air-cooled.yaml"
16SRC_URI_remove_rainier = "file://fan-errors.yaml"
17
Ben_Paifba51212019-08-05 18:34:34 +080018do_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 +080024do_install_append_mihawk() {
25 install -D ${WORKDIR}/air-cooled.yaml ${D}${config_dir}/air-cooled.yaml
26 install -D ${WORKDIR}/fan-errors.yaml ${D}${config_dir}/fan-errors.yaml
27}
28
Matthew Barthbc7b43f2019-06-13 12:06:11 -050029FILES_${PN} += "${config_dir}/air-cooled.yaml"
Ben_Paifba51212019-08-05 18:34:34 +080030FILES_${PN}_append_ibm-ac-server = " ${config_dir}/water-cooled.yaml"
Matthew Barthbc7b43f2019-06-13 12:06:11 -050031FILES_${PN} += "${config_dir}/fan-errors.yaml"
Matt Spinlerf3e7cee2021-01-19 14:09:34 -060032
33FILES_${PN}_remove_rainier = "${config_dir}/air-cooled.yaml"
34FILES_${PN}_remove_rainier = "${config_dir}/fan-errors.yaml"