summaryrefslogtreecommitdiffstats
path: root/recipes-extended/rootlesskit/rootlesskit_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/rootlesskit/rootlesskit_git.bb')
-rw-r--r--recipes-extended/rootlesskit/rootlesskit_git.bb14
1 files changed, 12 insertions, 2 deletions
diff --git a/recipes-extended/rootlesskit/rootlesskit_git.bb b/recipes-extended/rootlesskit/rootlesskit_git.bb
index b98c0fd8..5fa940af 100644
--- a/recipes-extended/rootlesskit/rootlesskit_git.bb
+++ b/recipes-extended/rootlesskit/rootlesskit_git.bb
@@ -16,8 +16,18 @@ SRC_URI = "git://github.com/rootless-containers/rootlesskit;name=rootless;branch
16 file://0001-rootlesskit-add-GOFLAGS-to-Makefile.patch \ 16 file://0001-rootlesskit-add-GOFLAGS-to-Makefile.patch \
17 " 17 "
18 18
19include go-mod-git.inc 19
20include go-mod-cache.inc 20# GO_MOD_FETCH_MODE: "vcs" (all git://) or "hybrid" (gomod:// + git://)
21GO_MOD_FETCH_MODE ?= "hybrid"
22
23# VCS mode: all modules via git://
24include ${@ "go-mod-git.inc" if d.getVar("GO_MOD_FETCH_MODE") == "vcs" else ""}
25include ${@ "go-mod-cache.inc" if d.getVar("GO_MOD_FETCH_MODE") == "vcs" else ""}
26
27# Hybrid mode: gomod:// for most, git:// for selected
28include ${@ "go-mod-hybrid-gomod.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""}
29include ${@ "go-mod-hybrid-git.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""}
30include ${@ "go-mod-hybrid-cache.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""}
21 31
22LICENSE = "Apache-2.0" 32LICENSE = "Apache-2.0"
23LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 33LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"