diff options
Diffstat (limited to 'recipes-containers/nerdctl/nerdctl_git.bb')
| -rw-r--r-- | recipes-containers/nerdctl/nerdctl_git.bb | 167 |
1 files changed, 6 insertions, 161 deletions
diff --git a/recipes-containers/nerdctl/nerdctl_git.bb b/recipes-containers/nerdctl/nerdctl_git.bb index 5d4d827a..d5e28e14 100644 --- a/recipes-containers/nerdctl/nerdctl_git.bb +++ b/recipes-containers/nerdctl/nerdctl_git.bb | |||
| @@ -11,7 +11,7 @@ DEPENDS = " \ | |||
| 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 = "48f189a53a24c12838433f5bb5dd57f536816a8a" | 14 | SRCREV_nerdcli = "e084a2df4a8861eb5f0b0d32df0643ef24b81093" |
| 15 | 15 | ||
| 16 | SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=master;protocol=https" | 16 | SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=master;protocol=https" |
| 17 | 17 | ||
| @@ -31,7 +31,7 @@ GO_IMPORT = "import" | |||
| 31 | 31 | ||
| 32 | # S = "${WORKDIR}/git" | 32 | # S = "${WORKDIR}/git" |
| 33 | 33 | ||
| 34 | PV = "v0.18.0" | 34 | PV = "v0.22.2" |
| 35 | 35 | ||
| 36 | NERDCTL_PKG = "github.com/containerd/nerdctl" | 36 | NERDCTL_PKG = "github.com/containerd/nerdctl" |
| 37 | 37 | ||
| @@ -48,6 +48,9 @@ EXTRA_OEMAKE = " \ | |||
| 48 | 48 | ||
| 49 | PACKAGECONFIG ?= "" | 49 | PACKAGECONFIG ?= "" |
| 50 | 50 | ||
| 51 | # sets the "sites" variable. | ||
| 52 | include relocation.inc | ||
| 53 | |||
| 51 | do_compile() { | 54 | do_compile() { |
| 52 | 55 | ||
| 53 | cd ${S}/src/import | 56 | cd ${S}/src/import |
| @@ -65,165 +68,7 @@ do_compile() { | |||
| 65 | 68 | ||
| 66 | # this moves all the fetches into the proper vendor structure | 69 | # this moves all the fetches into the proper vendor structure |
| 67 | # expected for build | 70 | # expected for build |
| 68 | 71 | for s in ${sites}; do | |
| 69 | sites="github.com/Masterminds/semver/v3:github.com/Masterminds/semver/v3 \ | ||
| 70 | github.com/Microsoft/go-winio:github.com/Microsoft/go-winio \ | ||
| 71 | github.com/compose-spec/compose-go:github.com/compose-spec/compose-go \ | ||
| 72 | github.com/containerd/cgroups:github.com/containerd/cgroups \ | ||
| 73 | github.com/containerd/console:github.com/containerd/console \ | ||
| 74 | github.com/containerd/containerd:github.com/containerd/containerd \ | ||
| 75 | github.com/containerd/continuity:github.com/containerd/continuity \ | ||
| 76 | github.com/containerd/go-cni:github.com/containerd/go-cni \ | ||
| 77 | github.com/containerd/imgcrypt:github.com/containerd/imgcrypt \ | ||
| 78 | github.com/containerd/stargz-snapshotter:github.com/containerd/stargz-snapshotter \ | ||
| 79 | github.com/containerd/stargz-snapshotter/estargz:github.com/containerd/stargz-snapshotter//estargz \ | ||
| 80 | github.com/containerd/stargz-snapshotter/ipfs:github.com/containerd/stargz-snapshotter//ipfs \ | ||
| 81 | github.com/containerd/typeurl:github.com/containerd/typeurl \ | ||
| 82 | github.com/containernetworking/cni:github.com/containernetworking/cni \ | ||
| 83 | github.com/containernetworking/plugins:github.com/containernetworking/plugins \ | ||
| 84 | github.com/cyphar/filepath-securejoin:github.com/cyphar/filepath-securejoin \ | ||
| 85 | github.com/docker/cli:github.com/docker/cli \ | ||
| 86 | github.com/docker/docker:github.com/docker/docker \ | ||
| 87 | github.com/docker/go-connections:github.com/docker/go-connections \ | ||
| 88 | github.com/docker/go-units:github.com/docker/go-units \ | ||
| 89 | github.com/fatih/color:github.com/fatih/color \ | ||
| 90 | github.com/gogo/protobuf:github.com/gogo/protobuf \ | ||
| 91 | github.com/hashicorp/go-multierror:github.com/hashicorp/go-multierror \ | ||
| 92 | github.com/ipfs/go-cid:github.com/ipfs/go-cid \ | ||
| 93 | github.com/ipfs/go-ipfs-files:github.com/ipfs/go-ipfs-files \ | ||
| 94 | github.com/ipfs/go-ipfs-http-client:github.com/ipfs/go-ipfs-http-client \ | ||
| 95 | github.com/ipfs/interface-go-ipfs-core:github.com/ipfs/interface-go-ipfs-core \ | ||
| 96 | github.com/mattn/go-isatty:github.com/mattn/go-isatty \ | ||
| 97 | github.com/moby/sys/mount:github.com/moby/sys/mount//mount \ | ||
| 98 | github.com/moby/sys/mountinfo:github.com/moby/sys/mount//mountinfo \ | ||
| 99 | github.com/moby/sys/signal:github.com/moby/sys/mount//signal \ | ||
| 100 | github.com/multiformats/go-multiaddr:github.com/multiformats/go-multiaddr \ | ||
| 101 | github.com/opencontainers/go-digest:github.com/opencontainers/go-digest \ | ||
| 102 | github.com/opencontainers/image-spec:github.com/opencontainers/image-spec \ | ||
| 103 | github.com/opencontainers/runtime-spec:github.com/opencontainers/runtime-spec \ | ||
| 104 | github.com/pelletier/go-toml:github.com/pelletier/go-toml \ | ||
| 105 | github.com/rootless-containers/bypass4netns:github.com/rootless-containers/bypass4netns \ | ||
| 106 | github.com/rootless-containers/rootlesskit:github.com/rootless-containers/rootlesskit \ | ||
| 107 | github.com/sirupsen/logrus:github.com/sirupsen/logrus \ | ||
| 108 | github.com/spf13/cobra:github.com/spf13/cobra \ | ||
| 109 | github.com/spf13/pflag:github.com/spf13/pflag \ | ||
| 110 | github.com/tidwall/gjson:github.com/tidwall/gjson \ | ||
| 111 | github.com/vishvananda/netlink:github.com/vishvananda/netlink \ | ||
| 112 | github.com/vishvananda/netns:github.com/vishvananda/netns \ | ||
| 113 | golang.org/x/crypto:go.googlesource.com/crypto \ | ||
| 114 | golang.org/x/net:go.googlesource.com/net \ | ||
| 115 | golang.org/x/sync:go.googlesource.com/sync \ | ||
| 116 | golang.org/x/sys:go.googlesource.com/sys \ | ||
| 117 | golang.org/x/term:go.googlesource.com/term \ | ||
| 118 | gopkg.in/yaml.v2:gopkg.in/yaml.v2 \ | ||
| 119 | gotest.tools/v3:github.com/gotestyourself/gotest.tools/v3 \ | ||
| 120 | github.com/Azure/go-ansiterm:github.com/Azure/go-ansiterm \ | ||
| 121 | github.com/Microsoft/hcsshim:github.com/Microsoft/hcsshim \ | ||
| 122 | github.com/beorn7/perks:github.com/beorn7/perks \ | ||
| 123 | github.com/btcsuite/btcd:github.com/btcsuite/btcd \ | ||
| 124 | github.com/cespare/xxhash/v2:github.com/cespare/xxhash/v2 \ | ||
| 125 | github.com/cilium/ebpf:github.com/cilium/ebpf \ | ||
| 126 | github.com/containerd/fifo:github.com/containerd/fifo \ | ||
| 127 | github.com/containerd/ttrpc:github.com/containerd/ttrpc \ | ||
| 128 | github.com/containers/ocicrypt:github.com/containers/ocicrypt \ | ||
| 129 | github.com/coreos/go-systemd/v22:github.com/coreos/go-systemd/v22 \ | ||
| 130 | github.com/cpuguy83/go-md2man/v2:github.com/cpuguy83/go-md2man/v2 \ | ||
| 131 | github.com/crackcomm/go-gitignore:github.com/crackcomm/go-gitignore \ | ||
| 132 | github.com/distribution/distribution/v3:github.com/distribution/distribution/v3 \ | ||
| 133 | github.com/docker/distribution:github.com/docker/distribution \ | ||
| 134 | github.com/docker/docker-credential-helpers:github.com/docker/docker-credential-helpers \ | ||
| 135 | github.com/docker/go-events:github.com/docker/go-events \ | ||
| 136 | github.com/docker/go-metrics:github.com/docker/go-metrics \ | ||
| 137 | github.com/godbus/dbus/v5:github.com/godbus/dbus/v5 \ | ||
| 138 | github.com/gogo/googleapis:github.com/gogo/googleapis \ | ||
| 139 | github.com/golang/groupcache:github.com/golang/groupcache \ | ||
| 140 | github.com/golang/protobuf:github.com/golang/protobuf \ | ||
| 141 | github.com/google/go-cmp:github.com/google/go-cmp \ | ||
| 142 | github.com/google/uuid:github.com/google/uuid \ | ||
| 143 | github.com/gorilla/mux:github.com/gorilla/mux \ | ||
| 144 | github.com/hashicorp/errwrap:github.com/hashicorp/errwrap \ | ||
| 145 | github.com/hashicorp/golang-lru:github.com/hashicorp/golang-lru \ | ||
| 146 | github.com/imdario/mergo:github.com/imdario/mergo \ | ||
| 147 | github.com/inconshreveable/mousetrap:github.com/inconshreveable/mousetrap \ | ||
| 148 | github.com/ipfs/bbloom:github.com/ipfs/bbloom \ | ||
| 149 | github.com/ipfs/go-block-format:github.com/ipfs/go-block-format \ | ||
| 150 | github.com/ipfs/go-blockservice:github.com/ipfs/go-blockservice \ | ||
| 151 | github.com/ipfs/go-datastore:github.com/ipfs/go-datastore \ | ||
| 152 | github.com/ipfs/go-ipfs-blockstore:github.com/ipfs/go-ipfs-blockstore \ | ||
| 153 | github.com/ipfs/go-ipfs-cmds:github.com/ipfs/go-ipfs-cmds \ | ||
| 154 | github.com/ipfs/go-ipfs-ds-help:github.com/ipfs/go-ipfs-ds-help \ | ||
| 155 | github.com/ipfs/go-ipfs-exchange-interface:github.com/ipfs/go-ipfs-exchange-interface \ | ||
| 156 | github.com/ipfs/go-ipfs-util:github.com/ipfs/go-ipfs-util \ | ||
| 157 | github.com/ipfs/go-ipld-cbor:github.com/ipfs/go-ipld-cbor \ | ||
| 158 | github.com/ipfs/go-ipld-format:github.com/ipfs/go-ipld-format \ | ||
| 159 | github.com/ipfs/go-ipld-legacy:github.com/ipfs/go-ipld-legacy \ | ||
| 160 | github.com/ipfs/go-log:github.com/ipfs/go-log \ | ||
| 161 | github.com/ipfs/go-log/v2:github.com/ipfs/go-log/v2 \ | ||
| 162 | github.com/ipfs/go-merkledag:github.com/ipfs/go-merkledag \ | ||
| 163 | github.com/ipfs/go-metrics-interface:github.com/ipfs/go-metrics-interface \ | ||
| 164 | github.com/ipfs/go-path:github.com/ipfs/go-path \ | ||
| 165 | github.com/ipfs/go-unixfs:github.com/ipfs/go-unixfs \ | ||
| 166 | github.com/ipfs/go-verifcid:github.com/ipfs/go-verifcid \ | ||
| 167 | github.com/ipld/go-codec-dagpb:github.com/ipld/go-codec-dagpb \ | ||
| 168 | github.com/ipld/go-ipld-prime:github.com/ipld/go-ipld-prime \ | ||
| 169 | github.com/jbenet/goprocess:github.com/jbenet/goprocess \ | ||
| 170 | github.com/klauspost/compress:github.com/klauspost/compress \ | ||
| 171 | github.com/klauspost/cpuid/v2:github.com/klauspost/cpuid/v2 \ | ||
| 172 | github.com/libp2p/go-buffer-pool:github.com/libp2p/go-buffer-pool \ | ||
| 173 | github.com/libp2p/go-libp2p-core:github.com/libp2p/go-libp2p-core \ | ||
| 174 | github.com/libp2p/go-openssl:github.com/libp2p/go-openssl \ | ||
| 175 | github.com/mattn/go-colorable:github.com/mattn/go-colorable \ | ||
| 176 | github.com/mattn/go-shellwords:github.com/mattn/go-shellwords \ | ||
| 177 | github.com/matttproud/golang_protobuf_extensions:github.com/matttproud/golang_protobuf_extensions \ | ||
| 178 | github.com/miekg/pkcs11:github.com/miekg/pkcs11 \ | ||
| 179 | github.com/minio/blake2b-simd:github.com/minio/blake2b-simd \ | ||
| 180 | github.com/minio/sha256-simd:github.com/minio/sha256-simd \ | ||
| 181 | github.com/mitchellh/go-homedir:github.com/mitchellh/go-homedir \ | ||
| 182 | github.com/mitchellh/mapstructure:github.com/mitchellh/mapstructure \ | ||
| 183 | github.com/moby/locker:github.com/moby/locker \ | ||
| 184 | github.com/moby/term:github.com/moby/term \ | ||
| 185 | github.com/morikuni/aec:github.com/morikuni/aec \ | ||
| 186 | github.com/mr-tron/base58:github.com/mr-tron/base58 \ | ||
| 187 | github.com/multiformats/go-base32:github.com/multiformats/go-base32 \ | ||
| 188 | github.com/multiformats/go-base36:github.com/multiformats/go-base36 \ | ||
| 189 | github.com/multiformats/go-multibase:github.com/multiformats/go-multibase \ | ||
| 190 | github.com/multiformats/go-multihash:github.com/multiformats/go-multihash \ | ||
| 191 | github.com/multiformats/go-varint:github.com/multiformats/go-varint \ | ||
| 192 | github.com/opencontainers/runc:github.com/opencontainers/runc \ | ||
| 193 | github.com/opencontainers/selinux:github.com/opencontainers/selinux \ | ||
| 194 | github.com/opentracing/opentracing-go:github.com/opentracing/opentracing-go \ | ||
| 195 | github.com/pkg/errors:github.com/pkg/errors \ | ||
| 196 | github.com/polydawn/refmt:github.com/polydawn/refmt \ | ||
| 197 | github.com/prometheus/client_golang:github.com/prometheus/client_golang \ | ||
| 198 | github.com/prometheus/client_model:github.com/prometheus/client_model \ | ||
| 199 | github.com/prometheus/common:github.com/prometheus/common \ | ||
| 200 | github.com/prometheus/procfs:github.com/prometheus/procfs \ | ||
| 201 | github.com/rs/cors:github.com/rs/cors \ | ||
| 202 | github.com/russross/blackfriday/v2:github.com/russross/blackfriday/v2 \ | ||
| 203 | github.com/spacemonkeygo/spacelog:github.com/spacemonkeygo/spacelog \ | ||
| 204 | github.com/stefanberger/go-pkcs11uri:github.com/stefanberger/go-pkcs11uri \ | ||
| 205 | github.com/tidwall/match:github.com/tidwall/match \ | ||
| 206 | github.com/tidwall/pretty:github.com/tidwall/pretty \ | ||
| 207 | github.com/urfave/cli:github.com/urfave/cli \ | ||
| 208 | github.com/vbatts/tar-split:github.com/vbatts/tar-split \ | ||
| 209 | github.com/whyrusleeping/cbor-gen:github.com/whyrusleeping/cbor-gen \ | ||
| 210 | github.com/xeipuuv/gojsonpointer:github.com/xeipuuv/gojsonpointer \ | ||
| 211 | github.com/xeipuuv/gojsonreference:github.com/xeipuuv/gojsonreference \ | ||
| 212 | github.com/xeipuuv/gojsonschema:github.com/xeipuuv/gojsonschema \ | ||
| 213 | go.mozilla.org/pkcs7:go.mozilla.org/pkcs7 \ | ||
| 214 | go.opencensus.io:go.opencensus.io \ | ||
| 215 | go.uber.org/atomic:go.uber.org/atomic \ | ||
| 216 | go.uber.org/multierr:go.uber.org/multierr \ | ||
| 217 | go.uber.org/zap:go.uber.org/zap \ | ||
| 218 | golang.org/x/text:go.googlesource.com/text \ | ||
| 219 | golang.org/x/xerrors:go.googlesource.com/xerrors \ | ||
| 220 | google.golang.org/genproto:google.golang.org/genproto \ | ||
| 221 | google.golang.org/grpc:google.golang.org/grpc \ | ||
| 222 | google.golang.org/protobuf:google.golang.org/protobuf \ | ||
| 223 | gopkg.in/square/go-jose.v2:gopkg.in/square/go-jose.v2 \ | ||
| 224 | github.com/hashicorp/golang-lru:github.com/hashicorp/golang-lru" | ||
| 225 | |||
| 226 | for s in $sites; do | ||
| 227 | site_dest=$(echo $s | cut -d: -f1) | 72 | site_dest=$(echo $s | cut -d: -f1) |
| 228 | site_source=$(echo $s | cut -d: -f2) | 73 | site_source=$(echo $s | cut -d: -f2) |
| 229 | mkdir -p vendor.copy/$site_dest | 74 | mkdir -p vendor.copy/$site_dest |
