From 2af366a36ddfcc6f39c779fdd2cc07e50a249ef6 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Wed, 6 Jun 2018 12:20:51 +0800 Subject: thermald: upgrade 1.7.1 -> 1.7.2 From README: - Workwround for platform with invalid thermal table - Error printing for RAPL constraint sysfs read on failure - thermal-conf.xml.auto can be read from /etc/thermald, which allows user to modify generated thermal-conf.xml from /var/run/thermald and copy to /etc/thermald Signed-off-by: Anuj Mittal --- recipes-bsp/thermald/thermald_1.7.2.bb | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-bsp/thermald/thermald_1.7.2.bb (limited to 'recipes-bsp/thermald/thermald_1.7.2.bb') diff --git a/recipes-bsp/thermald/thermald_1.7.2.bb b/recipes-bsp/thermald/thermald_1.7.2.bb new file mode 100644 index 00000000..506cd4c8 --- /dev/null +++ b/recipes-bsp/thermald/thermald_1.7.2.bb @@ -0,0 +1,36 @@ +SUMMARY = "Linux thermal daemon" + +DESCRIPTION = "Thermal Daemon is a Linux daemon used to prevent the \ +overheating of platforms. This daemon monitors temperature and applies \ +compensation using available cooling methods." + +HOMEPAGE = "https://github.com/01org/thermal_daemon" + +DEPENDS = "dbus dbus-glib dbus-glib-native libxml2 glib-2.0 glib-2.0-native" +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" +DEPENDS_append_libc-musl = " argp-standalone" +DEPENDS_append_toolchain-clang = " openmp" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" + +SRC_URI = "git://github.com/intel/thermal_daemon/ \ + file://0001-Include-poll.h-instead-of-sys-poll.h.patch \ + file://0002-Use-correct-format-specifier-for-X32.patch \ + " +SRCREV = "855c91c91b3b5b52c02cb1adc0dd940f8a39df1b" +S = "${WORKDIR}/git" + +inherit pkgconfig autotools systemd + +FILES_${PN} += "${datadir}/dbus-1/system-services/*.service" + +SYSTEMD_SERVICE_${PN} = "thermald.service" + +COMPATIBLE_HOST = '(i.86|x86_64).*-linux' + +CONFFILES_${PN} = " \ + ${sysconfdir}/thermald/thermal-conf.xml \ + ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ + " + +UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases" -- cgit v1.2.3-54-g00ecf