netbase: use git fetcher

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.

(From OE-Core rev: 9557273596245f51781884a8ae7c8d9a14840df2)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mingli Yu
2021-07-27 15:59:00 +08:00
committed by Richard Purdie
parent f8c1193fb5
commit 44ab3f9719

View 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/"