runtime: Expose DEFSERVICEOFFLOAD build option

For the CC build we need to enable such a flag, and the cleaner way to
do so is exposing it in the Makefile and, later on, making sure its
correct value to the build script.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2022-06-30 12:21:10 +02:00
parent e23322b95c
commit d4d178359b
3 changed files with 6 additions and 2 deletions

View File

@ -211,6 +211,9 @@ DEFSTATICRESOURCEMGMT ?= false
DEFBINDMOUNTS := [] DEFBINDMOUNTS := []
# Image Service Offload
DEFSERVICEOFFLOAD ?= false
SED = sed SED = sed
CLI_DIR = cmd CLI_DIR = cmd
@ -479,6 +482,7 @@ USER_VARS += DEFSTATICRESOURCEMGMT_FC
USER_VARS += DEFBINDMOUNTS USER_VARS += DEFBINDMOUNTS
USER_VARS += DEFVFIOMODE USER_VARS += DEFVFIOMODE
USER_VARS += BUILDFLAGS USER_VARS += BUILDFLAGS
USER_VARS += DEFSERVICEOFFLOAD
V = @ V = @

View File

@ -405,7 +405,7 @@ experimental=@DEFAULTEXPFEATURES@
# #
# Offload the CRI image management service to the Kata agent. # Offload the CRI image management service to the Kata agent.
# (default: false) # (default: false)
#service_offload = true service_offload = @DEFSERVICEOFFLOAD@
# Container image decryption keys provisioning. # Container image decryption keys provisioning.
# Applies only if service_offload is true. # Applies only if service_offload is true.

View File

@ -609,7 +609,7 @@ experimental=@DEFAULTEXPFEATURES@
# #
# Offload the CRI image management service to the Kata agent. # Offload the CRI image management service to the Kata agent.
# (default: false) # (default: false)
#service_offload = true service_offload = @DEFSERVICEOFFLOAD@
# Container image decryption keys provisioning. # Container image decryption keys provisioning.
# Applies only if service_offload is true. # Applies only if service_offload is true.