]> code.ossystems Code Review - openembedded-core.git/commitdiff
netbase: use git fetcher
authorMingli Yu <mingli.yu@windriver.com>
Tue, 27 Jul 2021 07:59:00 +0000 (15:59 +0800)
committerAnuj Mittal <anuj.mittal@intel.com>
Sat, 31 Jul 2021 06:11:30 +0000 (14:11 +0800)
Use git repo as the the previous URL only stores the latest
source file and fails to locate the source file which isn't
the latest.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-core/netbase/netbase_6.2.bb

index a54d2e776455fcd3b05ed8553ab8de42e9be1d9a..c016d32dd32da60bfbe19b46e7f94c8e3c9e1e0a 100644 (file)
@@ -6,11 +6,12 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
 PE = "1"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.tar.xz"
+SRC_URI = "git://salsa.debian.org/md/netbase.git;protocol=https"
+SRCREV = "1c892c96a078ef28ec1a94681b3a0da7a3d545f7"
 
 inherit allarch
 
-SRC_URI[sha256sum] = "309a24146a06347d654b261e9e07a82fab844b173674a42e223803dd8258541e"
+S = "${WORKDIR}/git"
 
 UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netbase/"