Update to 2.4.4

Resolves: #1935728
This commit is contained in:
Benjamin Berg 2021-05-14 13:34:52 +02:00
parent 6360c42aa4
commit 778abbf6de
3 changed files with 7 additions and 21 deletions

View File

@ -1,16 +0,0 @@
diff --git a/src/thd_engine_adaptive.cpp b/src/thd_engine_adaptive.cpp
index 1464006..c0ab87e 100644
--- a/src/thd_engine_adaptive.cpp
+++ b/src/thd_engine_adaptive.cpp
@@ -1190,9 +1190,9 @@ int cthd_engine_adaptive::install_passive(struct psv *psv) {
int target_state = 0;
if (psv->limit.length()) {
- if (psv->limit == "MAX") {
+ if (psv->limit == "MAX" || psv->limit == "max" ) {
target_state = TRIP_PT_INVALID_TARGET_STATE;
- } else if (psv->limit == "MIN") {
+ } else if (psv->limit == "MIN" || psv->limit == "min") {
target_state = 0;
} else {
std::istringstream buffer(psv->limit);

View File

@ -1 +1 @@
SHA512 (thermald-2.4.1.tar.gz) = 2dab7d57e028037208034ab4be95dc138ce028d4a47a0151c69816e1502065d801d52990641544b5d246144e654c15c663fa78af6cea094cf9a107f2fb29c1ef
SHA512 (thermald-2.4.4.tar.gz) = 968d1d0143f9ad2384fc810ee6a686ebb784e6bf0a90ee3e7db63b7e30e7910eb6c69fdd411466bc657e2eba6b9bc96af5b43352620a505effa6759c8e5e1465

View File

@ -7,8 +7,8 @@
Name: thermald
Version: 2.4.1
Release: 4%{?dist}
Version: 2.4.4
Release: 1%{?dist}
Summary: Thermal Management daemon
License: GPLv2+
@ -37,8 +37,6 @@ Requires(pre): shadow-utils
%{?systemd_requires}
Patch01: issue_291.diff
%description
%{name} monitors and controls platform temperature.
@ -245,6 +243,10 @@ exit 0
%changelog
* Fri May 14 2021 Benjamin Berg <bberg@redhat.com> - 2.4.4-1
- Update to 2.4.4
Resolves: #1935728
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4.1-4
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.