Matthew Barth | 6275fda | 2019-06-12 10:18:39 -0500 | [diff] [blame] | 1 | SUMMARY = "Fan policy configurations for meta-witherspoon machines" |
Matthew Barth | 0ca32c6 | 2019-06-13 12:06:11 -0500 | [diff] [blame] | 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${IBMBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
| 5 | |
| 6 | inherit allarch |
| 7 | inherit phosphor-dbus-monitor |
| 8 | |
| 9 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" |
| 10 | |
| 11 | SRC_URI += "file://air-cooled.yaml" |
| 12 | SRC_URI += "file://water-cooled.yaml" |
| 13 | SRC_URI += "file://fan-errors.yaml" |
| 14 | |
| 15 | do_install() { |
| 16 | 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 | |
| 21 | FILES_${PN} += "${config_dir}/air-cooled.yaml" |
| 22 | FILES_${PN} += "${config_dir}/water-cooled.yaml" |
| 23 | FILES_${PN} += "${config_dir}/fan-errors.yaml" |