diff options
Diffstat (limited to 'recipes-containers/nerdctl/relocation.inc')
| -rw-r--r-- | recipes-containers/nerdctl/relocation.inc | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/recipes-containers/nerdctl/relocation.inc b/recipes-containers/nerdctl/relocation.inc index 401a980c..7f3a1d34 100644 --- a/recipes-containers/nerdctl/relocation.inc +++ b/recipes-containers/nerdctl/relocation.inc | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | export sites="gotest.tools/v3:gotest.tools/v3:force \ | 1 | export sites="gotest.tools/v3:gotest.tools/v3:force \ |
| 2 | go.uber.org/mock:go.uber.org/mock:force \ | ||
| 2 | golang.org/x/net:golang.org/x/net:force \ | 3 | golang.org/x/net:golang.org/x/net:force \ |
| 3 | golang.org/x/sys:golang.org/x/sys:force \ | 4 | golang.org/x/sys:golang.org/x/sys:force \ |
| 4 | gopkg.in/yaml.v3:gopkg.in/yaml.v3:force \ | 5 | gopkg.in/yaml.v3:gopkg.in/yaml.v3:force \ |
| 5 | golang.org/x/exp:golang.org/x/exp:force \ | ||
| 6 | go.opencensus.io:go.opencensus.io:force \ | 6 | go.opencensus.io:go.opencensus.io:force \ |
| 7 | golang.org/x/exp:golang.org/x/exp:force \ | ||
| 7 | golang.org/x/mod:golang.org/x/mod:force \ | 8 | golang.org/x/mod:golang.org/x/mod:force \ |
| 8 | golang.org/x/sync:golang.org/x/sync:force \ | 9 | golang.org/x/sync:golang.org/x/sync:force \ |
| 9 | golang.org/x/term:golang.org/x/term:force \ | 10 | golang.org/x/term:golang.org/x/term:force \ |
| @@ -35,46 +36,53 @@ export sites="gotest.tools/v3:gotest.tools/v3:force \ | |||
| 35 | github.com/philhofer/fwd:github.com/philhofer/fwd:force \ | 36 | github.com/philhofer/fwd:github.com/philhofer/fwd:force \ |
| 36 | github.com/tidwall/match:github.com/tidwall/match:force \ | 37 | github.com/tidwall/match:github.com/tidwall/match:force \ |
| 37 | go.opentelemetry.io/otel:go.opentelemetry.io/otel:force \ | 38 | go.opentelemetry.io/otel:go.opentelemetry.io/otel:force \ |
| 39 | github.com/containerd/log:github.com/containerd/log:force \ | ||
| 38 | github.com/djherbis/times:github.com/djherbis/times:force \ | 40 | github.com/djherbis/times:github.com/djherbis/times:force \ |
| 39 | github.com/godbus/dbus/v5:github.com/godbus/dbus/v5:force \ | 41 | github.com/godbus/dbus/v5:github.com/godbus/dbus/v5:force \ |
| 40 | github.com/mr-tron/base58:github.com/mr-tron/base58:force \ | 42 | github.com/mr-tron/base58:github.com/mr-tron/base58:force \ |
| 41 | github.com/tidwall/pretty:github.com/tidwall/pretty:force \ | 43 | github.com/tidwall/pretty:github.com/tidwall/pretty:force \ |
| 44 | github.com/containerd/fifo:github.com/containerd/fifo:force \ | ||
| 42 | github.com/docker/go-units:github.com/docker/go-units:force \ | 45 | github.com/docker/go-units:github.com/docker/go-units:force \ |
| 43 | github.com/mattn/go-isatty:github.com/mattn/go-isatty:force \ | 46 | github.com/mattn/go-isatty:github.com/mattn/go-isatty:force \ |
| 44 | github.com/sirupsen/logrus:github.com/sirupsen/logrus:force \ | ||
| 45 | github.com/yuchanns/srslog:github.com/yuchanns/srslog:force \ | 47 | github.com/yuchanns/srslog:github.com/yuchanns/srslog:force \ |
| 46 | github.com/containerd/fifo:github.com/containerd/fifo:force \ | ||
| 47 | github.com/golang/protobuf:github.com/golang/protobuf:force \ | 48 | github.com/golang/protobuf:github.com/golang/protobuf:force \ |
| 49 | github.com/sirupsen/logrus:github.com/sirupsen/logrus:force \ | ||
| 48 | google.golang.org/genproto:google.golang.org/genproto:force \ | 50 | google.golang.org/genproto:google.golang.org/genproto:force \ |
| 49 | google.golang.org/protobuf:google.golang.org/protobuf:force \ | 51 | google.golang.org/protobuf:google.golang.org/protobuf:force \ |
| 50 | gopkg.in/square/go-jose.v2:gopkg.in/square/go-jose.v2:force \ | 52 | github.com/moby/sys/user:github.com/moby/sys/user/user:force \ |
| 53 | github.com/bmizerany/assert:github.com/bmizerany/assert:force \ | ||
| 51 | github.com/containerd/ttrpc:github.com/containerd/ttrpc:force \ | 54 | github.com/containerd/ttrpc:github.com/containerd/ttrpc:force \ |
| 52 | github.com/docker/go-events:github.com/docker/go-events:force \ | 55 | github.com/docker/go-events:github.com/docker/go-events:force \ |
| 53 | github.com/vbatts/tar-split:github.com/vbatts/tar-split:force \ | 56 | github.com/vbatts/tar-split:github.com/vbatts/tar-split:force \ |
| 54 | github.com/Microsoft/hcsshim:github.com/Microsoft/hcsshim:force \ | 57 | github.com/Microsoft/hcsshim:github.com/Microsoft/hcsshim:force \ |
| 55 | github.com/containerd/go-cni:github.com/containerd/go-cni:force \ | 58 | github.com/containerd/go-cni:github.com/containerd/go-cni:force \ |
| 56 | github.com/moby/sys/mount:github.com/moby/sys/mount/mount:force \ | 59 | github.com/moby/sys/mount:github.com/moby/sys/mount/mount:force \ |
| 57 | github.com/pelletier/go-toml:github.com/pelletier/go-toml:force \ | ||
| 58 | github.com/vishvananda/netns:github.com/vishvananda/netns:force \ | 60 | github.com/vishvananda/netns:github.com/vishvananda/netns:force \ |
| 59 | github.com/Azure/go-ansiterm:github.com/Azure/go-ansiterm:force \ | 61 | github.com/Azure/go-ansiterm:github.com/Azure/go-ansiterm:force \ |
| 62 | github.com/felixge/httpsnoop:github.com/felixge/httpsnoop:force \ | ||
| 60 | github.com/golang/groupcache:github.com/golang/groupcache:force \ | 63 | github.com/golang/groupcache:github.com/golang/groupcache:force \ |
| 61 | github.com/hashicorp/errwrap:github.com/hashicorp/errwrap:force \ | 64 | github.com/hashicorp/errwrap:github.com/hashicorp/errwrap:force \ |
| 62 | github.com/minio/sha256-simd:github.com/minio/sha256-simd:force \ | 65 | github.com/minio/sha256-simd:github.com/minio/sha256-simd:force \ |
| 66 | github.com/pelletier/go-toml:github.com/pelletier/go-toml:force \ | ||
| 63 | github.com/spaolacci/murmur3:github.com/spaolacci/murmur3:force \ | 67 | github.com/spaolacci/murmur3:github.com/spaolacci/murmur3:force \ |
| 64 | github.com/Microsoft/go-winio:github.com/Microsoft/go-winio:force \ | 68 | github.com/Microsoft/go-winio:github.com/Microsoft/go-winio:force \ |
| 65 | github.com/containerd/console:github.com/containerd/console:force \ | 69 | github.com/containerd/console:github.com/containerd/console:force \ |
| 66 | github.com/coreos/go-iptables:github.com/coreos/go-iptables:force \ | 70 | github.com/coreos/go-iptables:github.com/coreos/go-iptables:force \ |
| 71 | github.com/containerd/cgroups:github.com/containerd/cgroups:force \ | ||
| 72 | github.com/containerd/go-runc:github.com/containerd/go-runc:force \ | ||
| 67 | github.com/containerd/typeurl:github.com/containerd/typeurl:force \ | 73 | github.com/containerd/typeurl:github.com/containerd/typeurl:force \ |
| 68 | github.com/frankban/quicktest:github.com/frankban/quicktest:force \ | 74 | github.com/go-jose/go-jose/v3:github.com/go-jose/go-jose/v3:force \ |
| 69 | github.com/klauspost/compress:github.com/klauspost/compress:force \ | 75 | github.com/klauspost/compress:github.com/klauspost/compress:force \ |
| 70 | github.com/klauspost/cpuid/v2:github.com/klauspost/cpuid/v2:force \ | 76 | github.com/klauspost/cpuid/v2:github.com/klauspost/cpuid/v2:force \ |
| 71 | github.com/mattn/go-colorable:github.com/mattn/go-colorable:force \ | 77 | github.com/mattn/go-colorable:github.com/mattn/go-colorable:force \ |
| 72 | github.com/moby/sys/signal:github.com/moby/sys/signal/signal:force \ | 78 | github.com/moby/sys/signal:github.com/moby/sys/signal/signal:force \ |
| 73 | github.com/containerd/imgcrypt:github.com/containerd/imgcrypt:force \ | 79 | github.com/containerd/imgcrypt:github.com/containerd/imgcrypt:force \ |
| 80 | github.com/muesli/cancelreader:github.com/muesli/cancelreader:force \ | ||
| 74 | github.com/vishvananda/netlink:github.com/vishvananda/netlink:force \ | 81 | github.com/vishvananda/netlink:github.com/vishvananda/netlink:force \ |
| 75 | github.com/containers/ocicrypt:github.com/containers/ocicrypt:force \ | 82 | github.com/containers/ocicrypt:github.com/containers/ocicrypt:force \ |
| 76 | github.com/mattn/go-shellwords:github.com/mattn/go-shellwords:force \ | 83 | github.com/mattn/go-shellwords:github.com/mattn/go-shellwords:force \ |
| 77 | github.com/opencontainers/runc:github.com/opencontainers/runc:force \ | 84 | github.com/containerd/platforms:github.com/containerd/platforms:force \ |
| 85 | github.com/pelletier/go-toml/v2:github.com/pelletier/go-toml/v2:force \ | ||
| 78 | github.com/mitchellh/go-homedir:github.com/mitchellh/go-homedir:force \ | 86 | github.com/mitchellh/go-homedir:github.com/mitchellh/go-homedir:force \ |
| 79 | github.com/moby/sys/symlink:github.com/moby/sys/symlink/symlink:force \ | 87 | github.com/moby/sys/symlink:github.com/moby/sys/symlink/symlink:force \ |
| 80 | github.com/xeipuuv/gojsonschema:github.com/xeipuuv/gojsonschema:force \ | 88 | github.com/xeipuuv/gojsonschema:github.com/xeipuuv/gojsonschema:force \ |
| @@ -88,6 +96,7 @@ export sites="gotest.tools/v3:gotest.tools/v3:force \ | |||
| 88 | github.com/xeipuuv/gojsonpointer:github.com/xeipuuv/gojsonpointer:force \ | 96 | github.com/xeipuuv/gojsonpointer:github.com/xeipuuv/gojsonpointer:force \ |
| 89 | github.com/fahedouch/go-logrotate:github.com/fahedouch/go-logrotate:force \ | 97 | github.com/fahedouch/go-logrotate:github.com/fahedouch/go-logrotate:force \ |
| 90 | github.com/mitchellh/mapstructure:github.com/mitchellh/mapstructure:force \ | 98 | github.com/mitchellh/mapstructure:github.com/mitchellh/mapstructure:force \ |
| 99 | github.com/distribution/reference:github.com/distribution/reference:force \ | ||
| 91 | github.com/multiformats/go-base32:github.com/multiformats/go-base32:force \ | 100 | github.com/multiformats/go-base32:github.com/multiformats/go-base32:force \ |
| 92 | github.com/multiformats/go-base36:github.com/multiformats/go-base36:force \ | 101 | github.com/multiformats/go-base36:github.com/multiformats/go-base36:force \ |
| 93 | github.com/multiformats/go-varint:github.com/multiformats/go-varint:force \ | 102 | github.com/multiformats/go-varint:github.com/multiformats/go-varint:force \ |
| @@ -98,6 +107,7 @@ export sites="gotest.tools/v3:gotest.tools/v3:force \ | |||
| 98 | github.com/hashicorp/go-multierror:github.com/hashicorp/go-multierror:force \ | 107 | github.com/hashicorp/go-multierror:github.com/hashicorp/go-multierror:force \ |
| 99 | github.com/moby/sys/mountinfo:github.com/moby/sys/mountinfo/mountinfo:force \ | 108 | github.com/moby/sys/mountinfo:github.com/moby/sys/mountinfo/mountinfo:force \ |
| 100 | github.com/xeipuuv/gojsonreference:github.com/xeipuuv/gojsonreference:force \ | 109 | github.com/xeipuuv/gojsonreference:github.com/xeipuuv/gojsonreference:force \ |
| 110 | go.opentelemetry.io/otel/metric:go.opentelemetry.io/otel/metric/metric:force \ | ||
| 101 | github.com/awslabs/soci-snapshotter:github.com/awslabs/soci-snapshotter:force \ | 111 | github.com/awslabs/soci-snapshotter:github.com/awslabs/soci-snapshotter:force \ |
| 102 | github.com/opencontainers/go-digest:github.com/opencontainers/go-digest:force \ | 112 | github.com/opencontainers/go-digest:github.com/opencontainers/go-digest:force \ |
| 103 | github.com/moby/sys/sequential:github.com/moby/sys/sequential/sequential:force \ | 113 | github.com/moby/sys/sequential:github.com/moby/sys/sequential/sequential:force \ |
| @@ -114,14 +124,15 @@ export sites="gotest.tools/v3:gotest.tools/v3:force \ | |||
| 114 | github.com/opencontainers/runtime-spec:github.com/opencontainers/runtime-spec:force \ | 124 | github.com/opencontainers/runtime-spec:github.com/opencontainers/runtime-spec:force \ |
| 115 | github.com/AdamKorcz/go-118-fuzz-build:github.com/AdamKorcz/go-118-fuzz-build:force \ | 125 | github.com/AdamKorcz/go-118-fuzz-build:github.com/AdamKorcz/go-118-fuzz-build:force \ |
| 116 | github.com/containerd/nydus-snapshotter:github.com/containerd/nydus-snapshotter:force \ | 126 | github.com/containerd/nydus-snapshotter:github.com/containerd/nydus-snapshotter:force \ |
| 117 | github.com/distribution/distribution/v3:github.com/distribution/distribution/v3:force \ | ||
| 118 | github.com/containerd/stargz-snapshotter:github.com/containerd/stargz-snapshotter:force \ | 127 | github.com/containerd/stargz-snapshotter:github.com/containerd/stargz-snapshotter:force \ |
| 119 | github.com/rootless-containers/rootlesskit:github.com/rootless-containers/rootlesskit:force \ | ||
| 120 | github.com/rootless-containers/bypass4netns:github.com/rootless-containers/bypass4netns:force \ | 128 | github.com/rootless-containers/bypass4netns:github.com/rootless-containers/bypass4netns:force \ |
| 121 | github.com/docker/docker-credential-helpers:github.com/docker/docker-credential-helpers:force \ | 129 | github.com/docker/docker-credential-helpers:github.com/docker/docker-credential-helpers:force \ |
| 130 | github.com/rootless-containers/rootlesskit/v2:github.com/rootless-containers/rootlesskit/v2:force \ | ||
| 122 | github.com/containerd/stargz-snapshotter/ipfs:github.com/containerd/stargz-snapshotter/ipfs/ipfs:force \ | 131 | github.com/containerd/stargz-snapshotter/ipfs:github.com/containerd/stargz-snapshotter/ipfs/ipfs:force \ |
| 132 | google.golang.org/genproto/googleapis/rpc:google.golang.org/genproto/googleapis/rpc/googleapis/rpc:force \ | ||
| 123 | github.com/containerd/accelerated-container-image:github.com/containerd/accelerated-container-image:force \ | 133 | github.com/containerd/accelerated-container-image:github.com/containerd/accelerated-container-image:force \ |
| 124 | github.com/containerd/stargz-snapshotter/estargz:github.com/containerd/stargz-snapshotter/estargz/estargz:force" | 134 | github.com/containerd/stargz-snapshotter/estargz:github.com/containerd/stargz-snapshotter/estargz/estargz:force \ |
| 135 | go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp:go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/instrumentation/net/http/otelhttp:force" | ||
| 125 | 136 | ||
| 126 | do_compile:prepend() { | 137 | do_compile:prepend() { |
| 127 | cd ${S}/src/import | 138 | cd ${S}/src/import |
| @@ -131,9 +142,9 @@ do_compile:prepend() { | |||
| 131 | force_flag=$(echo $s | cut -d: -f3) | 142 | force_flag=$(echo $s | cut -d: -f3) |
| 132 | mkdir -p vendor.copy/$site_dest | 143 | mkdir -p vendor.copy/$site_dest |
| 133 | if [ -n "$force_flag" ]; then | 144 | if [ -n "$force_flag" ]; then |
| 134 | echo "[INFO] $site_dest: force copying .go files" | 145 | echo "[INFO] $site_dest: force copying .go files" |
| 135 | rm -rf vendor.copy/$site_dest | 146 | rm -rf vendor.copy/$site_dest |
| 136 | rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest | 147 | rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest |
| 137 | else | 148 | else |
| 138 | [ -n "$(ls -A vendor.copy/$site_dest/*.go 2> /dev/null)" ] && { echo "[INFO] vendor.fetch/$site_source -> $site_dest: go copy skipped (files present)" ; true ; } || { echo "[INFO] $site_dest: copying .go files" ; rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest ; } | 149 | [ -n "$(ls -A vendor.copy/$site_dest/*.go 2> /dev/null)" ] && { echo "[INFO] vendor.fetch/$site_source -> $site_dest: go copy skipped (files present)" ; true ; } || { echo "[INFO] $site_dest: copying .go files" ; rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest ; } |
| 139 | fi | 150 | fi |
