summaryrefslogtreecommitdiffstats
path: root/recipes-containers/nerdctl/nerdctl_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/nerdctl/nerdctl_git.bb')
-rw-r--r--recipes-containers/nerdctl/nerdctl_git.bb15
1 files changed, 8 insertions, 7 deletions
diff --git a/recipes-containers/nerdctl/nerdctl_git.bb b/recipes-containers/nerdctl/nerdctl_git.bb
index 8868274f..536c470b 100644
--- a/recipes-containers/nerdctl/nerdctl_git.bb
+++ b/recipes-containers/nerdctl/nerdctl_git.bb
@@ -10,15 +10,16 @@ DEPENDS = " \
10" 10"
11 11
12# Specify the first two important SRCREVs as the format 12# Specify the first two important SRCREVs as the format
13SRCREV_FORMAT="nerdcli_cgroups" 13SRCREV_FORMAT = "nerdcli_cgroups"
14SRCREV_nerdcli = "265d6b9cf526ce7d9ed8d34a0e3c3066901cc463" 14SRCREV_nerdcli = "497c7cf74d09bf1ddf2678382360ca61e6faebac"
15 15
16SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=main;protocol=https" 16SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=main;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
17 17
18include src_uri.inc 18include src_uri.inc
19 19
20# patches and config 20# patches and config
21SRC_URI += "file://0001-Makefile-allow-external-specification-of-build-setti.patch \ 21SRC_URI += " \
22 file://0001-Makefile-allow-external-specification-of-build-setti.patch \
22 file://modules.txt \ 23 file://modules.txt \
23 " 24 "
24 25
@@ -27,9 +28,9 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd
27 28
28GO_IMPORT = "import" 29GO_IMPORT = "import"
29 30
30# S = "${WORKDIR}/git" 31S = "${WORKDIR}/git"
31 32
32PV = "v2.0.0-beta.1" 33PV = "v2.0.3"
33 34
34NERDCTL_PKG = "github.com/containerd/nerdctl" 35NERDCTL_PKG = "github.com/containerd/nerdctl"
35 36
@@ -69,7 +70,7 @@ do_compile() {
69 # our copied .go files are to be used for the build 70 # our copied .go files are to be used for the build
70 ln -sf vendor.copy vendor 71 ln -sf vendor.copy vendor
71 # inform go that we know what we are doing 72 # inform go that we know what we are doing
72 cp ${WORKDIR}/modules.txt vendor/ 73 cp ${UNPACKDIR}/modules.txt vendor/
73 74
74 oe_runmake GO=${GO} BUILDTAGS="${BUILDTAGS}" binaries 75 oe_runmake GO=${GO} BUILDTAGS="${BUILDTAGS}" binaries
75} 76}