mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 09:25:19 +00:00
Merge pull request #8021 from fidencio/topic/CC-fix-sev-tdx-rootfs-cached-artefacts
CC | cache: Fix rootfs-image-tdx and rootfs-initrd-sev cached artefacts
This commit is contained in:
commit
7ee7ca2b31
@ -110,7 +110,7 @@ cache_rootfs_artifacts() {
|
|||||||
local root_hash_tdx=""
|
local root_hash_tdx=""
|
||||||
if [ -n "${TEE}" ]; then
|
if [ -n "${TEE}" ]; then
|
||||||
if [ "${TEE}" == "tdx" ]; then
|
if [ "${TEE}" == "tdx" ]; then
|
||||||
rootfs_tarball_name="kata-static-cc-tdx-rootfs-image.tar.xz"
|
rootfs_tarball_name="kata-static-rootfs-image-tdx.tar.xz"
|
||||||
aa_kbc="cc_kbc_tdx"
|
aa_kbc="cc_kbc_tdx"
|
||||||
image_type="image"
|
image_type="image"
|
||||||
root_hash_vanilla=""
|
root_hash_vanilla=""
|
||||||
@ -118,7 +118,7 @@ cache_rootfs_artifacts() {
|
|||||||
fi
|
fi
|
||||||
if [ "${TEE}" == "sev" ]; then
|
if [ "${TEE}" == "sev" ]; then
|
||||||
root_hash_vanilla=""
|
root_hash_vanilla=""
|
||||||
rootfs_tarball_name="kata-static-cc-sev-rootfs-initrd.tar.xz"
|
rootfs_tarball_name="kata-static-rootfs-initrd-sev.tar.xz"
|
||||||
aa_kbc="online_sev_kbc"
|
aa_kbc="online_sev_kbc"
|
||||||
image_type="initrd"
|
image_type="initrd"
|
||||||
initramfs_last_commit="$(get_initramfs_image_name)"
|
initramfs_last_commit="$(get_initramfs_image_name)"
|
||||||
|
Loading…
Reference in New Issue
Block a user