Skip to contentSkip to conversation

networkd-dispatcher: use git fetcher

PATCH New Martin Jansa 1 participant 1 message Jan 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 networkd-dispatcher: use git fetcher

* now the gitlab QA check was backported to dunfell as well in:
https://git.openembedded.org/openembedded-core/commit/?h=dunfell&id=72f2c45880afbba1745e5e0cbd841d7fd666f374
and this started failing with:
ERROR: networkd-dispatcher-2.0.1-r0 do_package_qa: QA Issue: networkd-dispatcher: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol [src-uri-bad]

---
 .../networkd-dispatcher/networkd-dispatcher_2.0.1.bb       | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta-networking/recipes-daemons/networkd-dispatcher/networkd-dispatcher_2.0.1.bb +4 -3
index 6b73506c2a..61d656b7ca 100644
@@ -12,9 +12,10 @@ inherit features_check systemd
 RDEPENDS_${PN} = "python3-pygobject python3-dbus"
 REQUIRED_DISTRO_FEATURES = "systemd"
 
-SRC_URI = "https://gitlab.com/craftyguy/networkd-dispatcher/-/archive/${PV}/networkd-dispatcher-${PV}.tar.bz2"
-SRC_URI[md5sum] = "304d7dcc21331ea295e207f8493cb8d8"
-SRC_URI[sha256sum] = "21f84c3646a043329dc64787e4e58dfce592b2559b0e3069af82c469805660c2"
+SRCREV = "333ef1ed1d7c7c17264fcf7629e5c2f78ab4112c"
+SRC_URI = "git://gitlab.com/craftyguy/networkd-dispatcher;protocol=https"
+
+S = "${WORKDIR}/git"
 
 SYSTEMD_PACKAGES = "${PN}"
 SYSTEMD_SERVICE_${PN} = "networkd-dispatcher.service"
Signature · 1 line
2.27.0