1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-10 09:27:03 +00:00

kernel: Add CONFIG_TMPFS_XATTR to confidential kernel

During pull inside the guest, overlayfs expects xattrs.

Fixes: [guest-components#876](https://github.com/confidential-containers/guest-components/issues/876)

Signed-off-by: Jakub Ledworowski <jakub.ledworowski@intel.com>
This commit is contained in:
Jakub Ledworowski 2025-01-24 13:45:17 +01:00
parent 54e7e1fdc3
commit 42531cf6c4
3 changed files with 5 additions and 1 deletions
tools/packaging/kernel
build-kernel.sh
configs/fragments/common/confidential_containers
kata_config_version

View File

@ -293,6 +293,9 @@ get_kernel_frag_path() {
info "Enabling config for '${conf_guest}' confidential guest protection"
local conf_configs="$(ls ${arch_path}/${conf_guest}/*.conf)"
all_configs="${all_configs} ${conf_configs}"
local tmpfs_configs="$(ls ${common_path}/confidential_containers/tmpfs.conf)"
all_configs="${all_configs} ${tmpfs_configs}"
fi
if [[ "$force_setup_generate_config" == "true" ]]; then

View File

@ -0,0 +1 @@
CONFIG_TMPFS_XATTR=y

View File

@ -1 +1 @@
145
146