blob: 9c10c5b3d32c20f83fe0bb505f23bbcc87361d78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
SUMMARY = "Set Wolfpass fan default speeds"
DESCRIPTION = "Sets all fans to a single speed"
inherit allarch
inherit obmc-phosphor-systemd
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${INTELBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
RDEPENDS_${PN} += "python"
S = "${WORKDIR}"
SRC_URI += "file://set_fan_speeds.py"
SYSTEMD_SERVICE_${PN} += "fan-default-speed.service"
do_install() {
install -d ${D}/${bindir}
install -m 0755 ${WORKDIR}/set_fan_speeds.py ${D}/${bindir}/set_fan_speeds.py
}
|