From 0c328f7b1dc08523e7e24f9bca8ad3af17657e69 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 10 May 2021 15:03:16 -0400 Subject: [PATCH] go-systemd: explicitly specify branch The upstream project has removed the master branch in favour of 'main'. We were relying on the fetcher default of master previously, and now that master no longer exists, we get a fetch failure. Adding an explicit branch=main gets things working again. Signed-off-by: Bruce Ashfield --- recipes-devtools/go/go-systemd_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/go/go-systemd_git.bb b/recipes-devtools/go/go-systemd_git.bb index b61c97a6..4fd84e05 100644 --- a/recipes-devtools/go/go-systemd_git.bb +++ b/recipes-devtools/go/go-systemd_git.bb @@ -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" +SRC_URI = "git://${PKG_NAME}.git;branch=main" SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388" PV = "4+git${SRCREV}"