Skip to contentSkip to conversation

go-{distribution,systemd}: convert github SRC_URIs to use https protocol

PATCH In review Martin Jansa 2 participants 3 messages Nov 5, 2021 – Nov 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 go-{distribution,systemd}: convert github SRC_URIs to use https protocol

---
 recipes-devtools/go/go-distribution_git.bb | 2 +-
 recipes-devtools/go/go-systemd_git.bb      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-devtools/go/go-distribution_git.bb +1 -1
index f481d61..948831b 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=d2794c0df5b907fdace235a61
 SRCNAME = "distribution"
 
 PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME}"
+SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME};protocol=https"
 
 SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc"
 PV = "2.6.0+git${SRCPV}"
recipes-devtools/go/go-systemd_git.bb +1 -1
index 130ef8b..91f67da 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5"
 SRCNAME = "systemd"
 
 PKG_NAME = "github.com/coreos/go-${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main"
+SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
 
 SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
 PV = "4+git${SRCPV}"
Signature · 1 line
2.32.0
#1 lore raw

PATCH 2/2 linux-yocto_virtualization.inc: remove :append and += combination

* fixes:
KERNEL_FEATURES:append += is not a recommended operator combination, please replace it.

---
 recipes-kernel/linux/linux-yocto_virtualization.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-yocto_virtualization.inc +1 -1
index a27ae7d..84a7bd8 100644
@@ -13,7 +13,7 @@ KERNEL_MODULE_AUTOLOAD += "nf_conntrack_ipv6 openvswitch"
 KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('DISTRO_FEATURES', 'kvm', 'kvm', '', d)}"
 
 # aufs kernel support required for xen-image-minimal
-KERNEL_FEATURES:append += "${@bb.utils.contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}"
+KERNEL_FEATURES:append = "${@bb.utils.contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}"
 
 # if the kernel-yocto meta-data routine automatically starts to add the
 # recipe-sysroot-native, we can do away with this conditional, since all
Signature · 1 line
2.32.0
#2 lore raw
In reply to Martin Jansa
Quoted 2 lines · Martin Jansa

Please apply this patch as soon as possible, qemuarm + xen is seeing warnings for this (and it's quite annoying).

Thanks,
Jon

Quoted 37 lines
---
 recipes-devtools/go/go-distribution_git.bb | 2 +-
 recipes-devtools/go/go-systemd_git.bb      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-devtools/go/go-distribution_git.bb +1 -1
index f481d61..948831b 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=d2794c0df5b907fdace235a61
 SRCNAME = "distribution"
 
 PKG_NAME = "github.com/docker/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME}"
+SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME};protocol=https"
 
 SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc"
 PV = "2.6.0+git${SRCPV}"
recipes-devtools/go/go-systemd_git.bb +1 -2
index 130ef8b..91f67da 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5"
 SRCNAME = "systemd"
 
 PKG_NAME = "github.com/coreos/go-${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git;branch=main"
+SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
 
 SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
 PV = "4+git${SRCPV}"
--

2.32.0