Update github.com git:// SRC_URIs 80/26780/1 12.90.1 marlin/12.90.1 marlin_12.90.1
authorScott Murray <scott.murray@konsulko.com>
Tue, 2 Nov 2021 23:16:37 +0000 (19:16 -0400)
committerScott Murray <scott.murray@konsulko.com>
Tue, 2 Nov 2021 23:16:37 +0000 (19:16 -0400)
GitHub is dropping unauthenticated git protocol access in
January 2022, per:

https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git

While a workaround in the BitBake git fetcher is forthcoming, not
specifying protocol=https for github.com git:// SRC_URIs will start
resulting in warnings in Yocto 3.5/Kirkstone.  To ease our upgrade
path, go ahead and update our affected SRC_URIs.  Note that this has
been done by running the scripts/contrib/convert-srcuri.py script
from latest poky, which also makes git branch specification explicit
since the git fetcher is likely to require that in the future due
to widespread switches from master to main branches.

Bug-AGL: SPEC-4126

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic3550f08b92916bede2f21442499836b882f2db8

meta-agl-drm-lease/recipes-support/fff/fff_git.bb
meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb
meta-agl-ros2/recipes-ros2/ydlidar-ros2-sdk/ydlidar-ros2-sdk_1.4.7.bb

index 0507356..868ad97 100644 (file)
@@ -1,7 +1,7 @@
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=ae0c5f671972941881237cb85e1c74b2"
 
-SRC_URI = "git://github.com/meekrosoft/fff.git"
+SRC_URI = "git://github.com/meekrosoft/fff.git;branch=master;protocol=https"
 
 PV = "git${SRCPV}"
 SRCREV = "cbe9b8b7fba14a042d2b4e008dedf0b998c35ae8"
index 87519e1..2c9bff5 100644 (file)
@@ -15,7 +15,7 @@ PV = "0.12+git${SRCPV}"
 
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 
-SRC_URI = "git://github.com/siemens/jailhouse \
+SRC_URI = "git://github.com/siemens/jailhouse;branch=master;protocol=https \
            file://qemu-agl.c \
            file://agl-apic-demo.c \
            file://agl-pci-demo.c \
index 4f586f3..62fed08 100644 (file)
@@ -7,7 +7,7 @@ SECTION = "devel"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e320231d59c825e45dbfda066af29c9"
 
-SRC_URI = "git://github.com/YDLIDAR/YDLidar-SDK.git;protocol=https"
+SRC_URI = "git://github.com/YDLIDAR/YDLidar-SDK.git;protocol=https;branch=master"
 
 SRCREV = "8b287ed831db0892f51793650b438790442fa09c"