thermald : upgrade 2.5.4 -> 2.5.6

Create a separate variable for branch value and derive the value from PV
so AUH is able to upgrade the recipe.

Release Notes:
https://github.com/intel/thermal_daemon/releases/tag/v2.5.6

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Yogesh Tyagi 2024-03-11 03:18:56 -07:00 committed by Anuj Mittal
parent ce7818a5f5
commit 8ecf604af2
2 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,39 @@
From c4c049481d48f33319b1d04cad56d622c4eed65f Mon Sep 17 00:00:00 2001
From: Yogesh Tyagi <yogesh.tyagi@intel.com>
Date: Mon, 11 Mar 2024 13:13:32 +0800
Subject: [PATCH] Makefile: Fix build Issue
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
In case build directory is different from source, make sure make is able to find the correct input files.
Fixes:
| dbus-binding-tool --prefix=thd_dbus_interface --mode=glib-server --output=thd_dbus_interface.h ../git/src/thd_dbus_interface.xml
| glib-compile-resources --generate-source thermald-resource.gresource.xml
| Failed to open file “thermald-resource.gresource.xml”: No such file or directory
Upstream-Status: Submitted
https://github.com/intel/thermal_daemon/pull/436
Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index a0c051a..772e280 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -95,6 +95,6 @@ thd_dbus_interface.h: $(top_srcdir)/src/thd_dbus_interface.xml
$(AM_V_GEN) dbus-binding-tool --prefix=thd_dbus_interface --mode=glib-server --output=$@ $<
thermald-resource.c: $(top_srcdir)/thermald-resource.gresource.xml
- $(AM_V_GEN) glib-compile-resources --generate-source thermald-resource.gresource.xml
+ $(AM_V_GEN) glib-compile-resources --generate-source --sourcedir=${top_srcdir} $<
CLEANFILES = $(BUILT_SOURCES)
--
2.34.1

View File

@ -13,9 +13,10 @@ LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848"
SRC_URI = "git://github.com/intel/thermal_daemon/;branch=master;protocol=https \
file://0001-Makefile-Fix-build-Issue.patch \
"
SRCREV = "63b290f20da115f62f5bbd39a28fa5afe0f6efc2"
SRCREV = "3990ce2391e5c07293758c056e09e4f2453691b4"
S = "${WORKDIR}/git"
inherit pkgconfig autotools systemd gtk-doc