Matthew Barth | 9c52587 | 2019-06-12 10:18:39 -0500 | [diff] [blame] | 1 | SUMMARY = "Fan policy configurations for meta-witherspoon machines" |
Matthew Barth | bc7b43f | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
Brad Bishop | d77088a | 2019-09-13 13:06:15 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Matthew Barth | bc7b43f | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 5 | |
| 6 | inherit allarch |
| 7 | inherit phosphor-dbus-monitor |
| 8 | |
| 9 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" |
| 10 | |
| 11 | SRC_URI += "file://air-cooled.yaml" |
Ben_Pai | fba5121 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 12 | SRC_URI_append_ibm-ac-server = " file://water-cooled.yaml" |
Matthew Barth | bc7b43f | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 13 | SRC_URI += "file://fan-errors.yaml" |
| 14 | |
Matt Spinler | f3e7cee | 2021-01-19 14:09:34 -0600 | [diff] [blame] | 15 | SRC_URI_remove_rainier = "file://air-cooled.yaml" |
| 16 | SRC_URI_remove_rainier = "file://fan-errors.yaml" |
| 17 | |
Ben_Pai | fba5121 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 18 | do_install_append_ibm-ac-server() { |
Matthew Barth | bc7b43f | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 19 | 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_Pai | fba5121 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 24 | do_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 Barth | bc7b43f | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 29 | FILES_${PN} += "${config_dir}/air-cooled.yaml" |
Ben_Pai | fba5121 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 30 | FILES_${PN}_append_ibm-ac-server = " ${config_dir}/water-cooled.yaml" |
Matthew Barth | bc7b43f | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 31 | FILES_${PN} += "${config_dir}/fan-errors.yaml" |
Matt Spinler | f3e7cee | 2021-01-19 14:09:34 -0600 | [diff] [blame] | 32 | |
| 33 | FILES_${PN}_remove_rainier = "${config_dir}/air-cooled.yaml" |
| 34 | FILES_${PN}_remove_rainier = "${config_dir}/fan-errors.yaml" |