1SUMMARY = "Fan policy configurations for meta-witherspoon machines" 2PR = "r1" 3LICENSE = "Apache-2.0" 4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" 5 6inherit allarch 7inherit phosphor-dbus-monitor 8 9FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" 10 11SRC_URI += "file://air-cooled.yaml" 12SRC_URI_append_ibm-ac-server = " file://water-cooled.yaml" 13SRC_URI += "file://fan-errors.yaml" 14 15do_install_append_ibm-ac-server() { 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 21do_install_append_mihawk() { 22 install -D ${WORKDIR}/air-cooled.yaml ${D}${config_dir}/air-cooled.yaml 23 install -D ${WORKDIR}/fan-errors.yaml ${D}${config_dir}/fan-errors.yaml 24} 25 26FILES_${PN} += "${config_dir}/air-cooled.yaml" 27FILES_${PN}_append_ibm-ac-server = " ${config_dir}/water-cooled.yaml" 28FILES_${PN} += "${config_dir}/fan-errors.yaml" 29