[meta-intel] [PATCH] thermald: use git clone instead of unstable tarball

Ross Burton ross.burton at intel.com
Mon Sep 18 06:40:09 PDT 2017


GitHub has confirmed that the /archive/ tarballs that are generated on demand
from git tags are not persistant and can change over time.

This is no longer an academic problem as this has been observed occuring.

thermald doesn't have any official maintainer-generated tarballs, so switch to
fetching over git.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 common/recipes-bsp/thermald/thermald_1.6.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/common/recipes-bsp/thermald/thermald_1.6.bb b/common/recipes-bsp/thermald/thermald_1.6.bb
index a0491387..e6cbb621 100644
--- a/common/recipes-bsp/thermald/thermald_1.6.bb
+++ b/common/recipes-bsp/thermald/thermald_1.6.bb
@@ -13,11 +13,9 @@ DEPENDS_append_toolchain-clang = " openmp"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848"
 
-SRC_URI = "https://github.com/01org/thermal_daemon/archive/v${PV}.tar.gz"
-SRC_URI[md5sum] = "d0cdba81b75d8dd304c10bf4663fb201"
-SRC_URI[sha256sum] = "c63ae1b031f2b4ce037441e7e9910d05405b540fe6668e156d32c56d5dfa7492"
-
-S = "${WORKDIR}/thermal_daemon-${PV}"
+SRC_URI = "git://github.com/intel/thermal_daemon/"
+SRCREV = "5f1be4d9d6f3b27d2c9884f833ca05cdcb4428e0"
+S = "${WORKDIR}/git"
 
 inherit pkgconfig autotools systemd
 
-- 
2.11.0



More information about the meta-intel mailing list