Advertisement
Guest User

Untitled

a guest
Sep 13th, 2021
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. build [/home/bruc...ualization]> git show 99d0e9f605c59a4a9906d1e3648918f4480624c3
  2. commit 99d0e9f605c59a4a9906d1e3648918f4480624c3
  3. Author: Bruce Ashfield <[email protected]>
  4. Date: Mon May 10 15:03:16 2021 -0400
  5.  
  6. go-systemd: explicitly specify branch
  7.  
  8. The upstream project has removed the master branch in favour of
  9. 'main'.
  10.  
  11. We were relying on the fetcher default of master previously, and
  12. now that master no longer exists, we get a fetch failure.
  13.  
  14. Adding an explicit branch=main gets things working again.
  15.  
  16. Signed-off-by: Bruce Ashfield <[email protected]>
  17.  
  18. diff --git a/recipes-devtools/go/go-systemd_git.bb b/recipes-devtools/go/go-systemd_git.bb
  19. index 0f89c0f..c21a0f9 100644
  20. --- a/recipes-devtools/go/go-systemd_git.bb
  21. +++ b/recipes-devtools/go/go-systemd_git.bb
  22. @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5"
  23. SRCNAME = "systemd"
  24.  
  25. PKG_NAME = "github.com/coreos/go-${SRCNAME}"
  26. -SRC_URI = "git://${PKG_NAME}.git"
  27. +SRC_URI = "git://${PKG_NAME}.git;branch=main"
  28.  
  29. SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
  30. PV = "4+git${SRCPV}"
  31. build [/home/bruc...ualization]> git branch --contains 99d0e9f605c59a4a9906d1e3648918f4480624c3
  32. dunfell
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement