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 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 9 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" |
Matthew Barth | bc7b43f | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 10 | |
| 11 | SRC_URI += "file://air-cooled.yaml" |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [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 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 15 | SRC_URI:remove:p10bmc = "file://air-cooled.yaml" |
| 16 | SRC_URI:remove:p10bmc = "file://fan-errors.yaml" |
Matt Spinler | f3e7cee | 2021-01-19 14:09:34 -0600 | [diff] [blame] | 17 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [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 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 24 | do_install:append:mihawk() { |
Ben_Pai | fba5121 | 2019-08-05 18:34:34 +0800 | [diff] [blame] | 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 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 29 | FILES:${PN} += "${config_dir}/air-cooled.yaml" |
| 30 | FILES:${PN}:append:ibm-ac-server = " ${config_dir}/water-cooled.yaml" |
| 31 | FILES:${PN} += "${config_dir}/fan-errors.yaml" |
Matt Spinler | f3e7cee | 2021-01-19 14:09:34 -0600 | [diff] [blame] | 32 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 33 | FILES:${PN}:remove:p10bmc = "${config_dir}/air-cooled.yaml" |
| 34 | FILES:${PN}:remove:p10bmc = "${config_dir}/fan-errors.yaml" |