mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-04 19:16:12 +00:00
runtime-rs: Fix typo USE_BUILDIN_DB with USE_BUILTIN_DB
Corrects the typo 'BUILDIN' to the standard 'BUILTIN' across the codebase to improve code quality and documentation consistency. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
committed by
Fabiano Fidêncio
parent
75ecfe3fe2
commit
65b2a75aca
@@ -85,10 +85,10 @@ After running the command above, the default config file `configuration.toml` wi
|
||||
|
||||
### Install Shim Without Builtin Dragonball VMM
|
||||
|
||||
By default, runtime-rs includes the `Dragonball` VMM. To build without the built-in `Dragonball` hypervisor, use `make USE_BUILDIN_DB=false`:
|
||||
By default, runtime-rs includes the `Dragonball` VMM. To build without the built-in `Dragonball` hypervisor, use `make USE_BUILTIN_DB=false`:
|
||||
```bash
|
||||
$ cd kata-containers/src/runtime-rs
|
||||
$ make USE_BUILDIN_DB=false
|
||||
$ make USE_BUILTIN_DB=false
|
||||
```
|
||||
After building, specify the desired hypervisor during installation using `HYPERVISOR`. For example, to use `qemu` or `cloud-hypervisor`:
|
||||
|
||||
|
||||
@@ -99,11 +99,11 @@ HYPERVISOR_REMOTE = remote
|
||||
ARCH_SUPPORT_DB := x86_64 aarch64
|
||||
ifneq ($(filter $(ARCH),$(ARCH_SUPPORT_DB)),)
|
||||
# When set to true, builds the built-in Dragonball hypervisor
|
||||
USE_BUILDIN_DB := true
|
||||
USE_BUILTIN_DB := true
|
||||
else
|
||||
USE_BUILDIN_DB := false
|
||||
USE_BUILTIN_DB := false
|
||||
$(info Dragonball does not support ARCH $(ARCH), disabled. \
|
||||
Specify "USE_BUILDIN_DB=true" to force enable.)
|
||||
Specify "USE_BUILTIN_DB=true" to force enable.)
|
||||
endif
|
||||
|
||||
HYPERVISOR ?= $(HYPERVISOR_DB)
|
||||
@@ -483,7 +483,7 @@ USER_VARS += CONFIG_REMOTE_IN
|
||||
USER_VARS += CONFIG_QEMU_COCO_DEV_IN
|
||||
USER_VARS += DESTDIR
|
||||
USER_VARS += HYPERVISOR
|
||||
USER_VARS += USE_BUILDIN_DB
|
||||
USER_VARS += USE_BUILTIN_DB
|
||||
USER_VARS += DBCMD
|
||||
USER_VARS += DBCTLCMD
|
||||
USER_VARS += FCCTLCMD
|
||||
@@ -651,7 +651,7 @@ COMMIT_MSG = $(if $(COMMIT),$(COMMIT),unknown)
|
||||
EXTRA_RUSTFEATURES :=
|
||||
|
||||
# if use dragonball hypervisor, add the feature to build dragonball in runtime
|
||||
ifeq ($(USE_BUILDIN_DB),true)
|
||||
ifeq ($(USE_BUILTIN_DB),true)
|
||||
EXTRA_RUSTFEATURES += dragonball
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user