diff mbox series

[oe,meta-oe,12/14] usbctl: Switch to git fetcher

Message ID 20190721163919.32659-12-raj.khem@gmail.com
State Accepted
Commit ac053738e174bad901464819b02f0c80e9f8e67c
Headers show
Series [oe,meta-oe,01/14] recipes: Use BPN instead of PN in SRC_URIs | expand

Commit Message

Khem Raj July 21, 2019, 4:39 p.m. UTC
github archives are not reliable

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.22.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb b/meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb
index f5d1285000..62028a96e8 100644
--- a/meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb
+++ b/meta-oe/recipes-support/uhubctl/uhubctl_2.0.0.bb
@@ -6,9 +6,9 @@  DEPENDS = "libusb1"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI = "https://github.com/mvp/${BPN}/archive/v${PV}.tar.gz"
-SRC_URI[md5sum] = "5c711911d766d76813333c3812277574"
-SRC_URI[sha256sum] = "4c31278b2c03e5be5a696c3088bc86cf2557a70e00f697799c163aba18e3c40e"
+SRCREV = "6e05aee30e348ae2fd13ce8bfaa10f4f7d45d66f"
+SRC_URI = "git://github.com/mvp/${BPN}"
+S = "${WORKDIR}/git"
 
 # uhubctl gets its program version from "git describe". As we use the source
 # archive do reduce download size replace the call with our hardcoded version.