mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +00:00
agent/protocols: Remove some unneeded dependencies for protocol generation
src/agent/protocols/hack/update-generated-proto.sh checks for the presence of protoc-gen-rust and ttrpc_rust_plugin, but it doesn't actually need them. Those tools are needed to generate Rust code from the gRPC proto files, but that's already handled in src/agent/protocols/build.rs using Cargo for dependency management. This script is only needed for the Go code, for which the other tools are sufficient. fixes #1198 Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
9f317009b0
commit
2b4520904c
@ -80,12 +80,6 @@ fi;
|
||||
which protoc
|
||||
[ $? -eq 0 ] || die "Please install protoc from github.com/protocolbuffers/protobuf"
|
||||
|
||||
which protoc-gen-rust
|
||||
[ $? -eq 0 ] || die "Please install protobuf-codegen from github.com/pingcap/grpc-rs"
|
||||
|
||||
which ttrpc_rust_plugin
|
||||
[ $? -eq 0 ] || die "Please install ttrpc_rust_plugin from https://github.com/containerd/ttrpc-rust"
|
||||
|
||||
which protoc-gen-gogottrpc
|
||||
[ $? -eq 0 ] || die "Please install protoc-gen-gogottrpc from https://github.com/containerd/ttrpc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user