Skip to contentSkip to conversation

tinyalsa: switch away from github archive

PATCH New Trevor Woerner 1 participant 1 message May 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tinyalsa: switch away from github archive

Since we know that github archives which are automatically generated have a tendency to change their checksums[1], switch to using a git clone.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html

---
 .../recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb           | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb +3 -3
index fa5449ff6b..66b95db00f 100644
@@ -6,9 +6,9 @@ SECTION = "libs/multimedia"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://NOTICE;md5=dbdefe400d894b510a9de14813181d0b"
 
-SRC_URI = "https://github.com/tinyalsa/tinyalsa/archive/${PV}.tar.gz"
-SRC_URI[md5sum] = "ec5c1cc175fcb8c9d3d0adcececf10a9"
-SRC_URI[sha256sum] = "d92b438cea348ae316c4b2cbf367b4f01ed821a947e6a34d813624e9e3c936c1"
+S = "${WORKDIR}/git"
+SRCREV = "df11091086b56e5fb71887f2fa320e1d2ffeff58"
+SRC_URI = "git://github.com/tinyalsa/tinyalsa.git;protocol=https;"
 
 do_configure() {
     :
Signature · 1 line
2.17.0.rc2.3.gc2a499e6c