diff options
Diffstat (limited to 'recipes-containers/nerdctl/nerdctl_git.bb')
-rw-r--r-- | recipes-containers/nerdctl/nerdctl_git.bb | 15 |
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 |
13 | SRCREV_FORMAT="nerdcli_cgroups" | 13 | SRCREV_FORMAT = "nerdcli_cgroups" |
14 | SRCREV_nerdcli = "265d6b9cf526ce7d9ed8d34a0e3c3066901cc463" | 14 | SRCREV_nerdcli = "497c7cf74d09bf1ddf2678382360ca61e6faebac" |
15 | 15 | ||
16 | SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=main;protocol=https" | 16 | SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=main;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" |
17 | 17 | ||
18 | include src_uri.inc | 18 | include src_uri.inc |
19 | 19 | ||
20 | # patches and config | 20 | # patches and config |
21 | SRC_URI += "file://0001-Makefile-allow-external-specification-of-build-setti.patch \ | 21 | SRC_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 | ||
28 | GO_IMPORT = "import" | 29 | GO_IMPORT = "import" |
29 | 30 | ||
30 | # S = "${WORKDIR}/git" | 31 | S = "${WORKDIR}/git" |
31 | 32 | ||
32 | PV = "v2.0.0-beta.1" | 33 | PV = "v2.0.3" |
33 | 34 | ||
34 | NERDCTL_PKG = "github.com/containerd/nerdctl" | 35 | NERDCTL_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 | } |