diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-10-06 10:26:11 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-06 10:26:11 -0700 |
commit | cb0ae997f3693f18f1b1dd9e2cbd0c9814a3c3e4 (patch) | |
tree | e8cc3ae5fedd073ab77d60ab093bea1de7eac8a4 | |
parent | 36a90f10f74c600fa1a53c53d53996deb49b38d1 (diff) | |
parent | d4386896d64bb594f5b9f834a5d25e5bad45f3a6 (diff) |
Merge pull request #6700 from avagin:readme-install
PiperOrigin-RevId: 401278851
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | tools/bazel.mk | 4 |
2 files changed, 5 insertions, 4 deletions
@@ -61,8 +61,9 @@ Make sure the following dependencies are installed: Build and install the `runsc` binary: ```sh -make runsc -sudo cp ./bazel-bin/runsc/linux_amd64_pure_stripped/runsc /usr/local/bin +mkdir -p bin +make copy TARGETS=runsc DESTINATION=bin/ +sudo cp ./bin/runsc /usr/local/bin ``` ### Testing diff --git a/tools/bazel.mk b/tools/bazel.mk index 1444423e4..68b804ec4 100644 --- a/tools/bazel.mk +++ b/tools/bazel.mk @@ -186,8 +186,8 @@ build_paths = \ (set -euo pipefail; \ $(call wrapper,$(BAZEL) build $(BASE_OPTIONS) $(BAZEL_OPTIONS) $(1)) && \ $(call wrapper,$(BAZEL) cquery $(BASE_OPTIONS) $(BAZEL_OPTIONS) $(1) --output=starlark --starlark:file=tools/show_paths.bzl) \ - | xargs -r -n 1 -I {} bash -c 'test -e "{}" || exit 0; readlink -f "{}"' \ - | xargs -r -n 1 -I {} bash -c 'set -euo pipefail; $(2)') + | xargs -r -I {} bash -c 'test -e "{}" || exit 0; readlink -f "{}"' \ + | xargs -r -I {} bash -c 'set -euo pipefail; $(2)') clean = $(call header,CLEAN) && $(call wrapper,$(BAZEL) clean) build = $(call header,BUILD $(1)) && $(call build_paths,$(1),echo {}) |