diff options
Diffstat (limited to 'recipes-containers/nerdctl/nerdctl_git.bb')
| -rw-r--r-- | recipes-containers/nerdctl/nerdctl_git.bb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/recipes-containers/nerdctl/nerdctl_git.bb b/recipes-containers/nerdctl/nerdctl_git.bb index 203e84e6..98309276 100644 --- a/recipes-containers/nerdctl/nerdctl_git.bb +++ b/recipes-containers/nerdctl/nerdctl_git.bb | |||
| @@ -10,10 +10,14 @@ DEPENDS = " \ | |||
| 10 | " | 10 | " |
| 11 | 11 | ||
| 12 | SRCREV_FORMAT = "nerdcli" | 12 | SRCREV_FORMAT = "nerdcli" |
| 13 | SRCREV_nerdcli = "5604f9077214d1e7ef84e1699d794387d281195a" | 13 | SRCREV_nerdcli = "89ecd85071c47cf5865fb2bb5882aae5f06b4173" |
| 14 | 14 | ||
| 15 | SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=main;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" | 15 | SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=main;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" |
| 16 | 16 | ||
| 17 | # Upstream repo deleted from GitHub - fetch via Go module proxy instead | ||
| 18 | SRC_URI += "gomod://github.com/vtolstov/go-ioctl;version=v0.0.0-20151206205506-6be9cced4810;sha256sum=26e96d5eb3389453eb54f8e510676f3dabda93deb842f679f2e967052754c4de" | ||
| 19 | GO_MOD_VCS_EXCLUDE = "github.com/vtolstov/go-ioctl" | ||
| 20 | |||
| 17 | # GO_MOD_FETCH_MODE: "vcs" (all git://) or "hybrid" (gomod:// + git://) | 21 | # GO_MOD_FETCH_MODE: "vcs" (all git://) or "hybrid" (gomod:// + git://) |
| 18 | GO_MOD_FETCH_MODE ?= "hybrid" | 22 | GO_MOD_FETCH_MODE ?= "hybrid" |
| 19 | 23 | ||
| @@ -26,6 +30,9 @@ include ${@ "go-mod-hybrid-gomod.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybri | |||
| 26 | include ${@ "go-mod-hybrid-git.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""} | 30 | include ${@ "go-mod-hybrid-git.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""} |
| 27 | include ${@ "go-mod-hybrid-cache.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""} | 31 | include ${@ "go-mod-hybrid-cache.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""} |
| 28 | 32 | ||
| 33 | # Per-dependency license tracking | ||
| 34 | include go-mod-licenses.inc | ||
| 35 | |||
| 29 | # patches | 36 | # patches |
| 30 | SRC_URI += " \ | 37 | SRC_URI += " \ |
| 31 | file://0001-Makefile-allow-external-specification-of-build-setti.patch \ | 38 | file://0001-Makefile-allow-external-specification-of-build-setti.patch \ |
| @@ -36,7 +43,7 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd | |||
| 36 | 43 | ||
| 37 | GO_IMPORT = "import" | 44 | GO_IMPORT = "import" |
| 38 | 45 | ||
| 39 | PV = "v2.2.0" | 46 | PV = "v2.3.1" |
| 40 | 47 | ||
| 41 | NERDCTL_PKG = "github.com/containerd/nerdctl" | 48 | NERDCTL_PKG = "github.com/containerd/nerdctl" |
| 42 | 49 | ||
