mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-30 17:22:33 +00:00
build: Allow runtime to be built+installed without shim
Add `install-runtime` and `install-netmon` targets. This allows the `install` target to be simplified and also allows the runtime to be built without having to build the `containerd-shim-v2` binary which is slow to build: ``` $ make runtime && sudo -E PATH=$PATH make install-runtime ``` Fixes #1402. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
206ffc66aa
commit
e6a7091981
6
Makefile
6
Makefile
@ -534,11 +534,15 @@ check-go-static:
|
||||
coverage:
|
||||
$(QUIET_TEST).ci/go-test.sh html-coverage
|
||||
|
||||
install: default runtime install-scripts install-completions install-configs install-bin install-containerd-shim-v2 install-bin-libexec
|
||||
install: default install-runtime install-containerd-shim-v2 install-netmon
|
||||
|
||||
install-bin: $(BINLIST)
|
||||
$(QUIET_INST)$(foreach f,$(BINLIST),$(call INSTALL_EXEC,$f,$(BINDIR)))
|
||||
|
||||
install-runtime: runtime install-scripts install-completions install-configs install-bin
|
||||
|
||||
install-netmon: install-bin-libexec
|
||||
|
||||
install-containerd-shim-v2: $(SHIMV2)
|
||||
$(QUIET_INST)$(call INSTALL_EXEC,$<,$(BINDIR))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user