1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-05 15:07:31 +00:00

build: Ensure MEASURED_ROOTFS is only used for images

We never ever tested MEASURED_ROOTFS with initrd, and I sincerely do not
know why we've been setting that to "yes" in the initrd cases.

Let's drop it, as it may be causing issues with the jobs that rely on
the rootfs-initrd-confidential.

Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
Fabiano Fidêncio 2025-02-20 15:51:33 +01:00 committed by Ryan Savino
parent b90c537f79
commit a7d33cc0cb

View File

@ -472,11 +472,7 @@ install_initrd() {
#Install guest initrd for confidential guests
install_initrd_confidential() {
if [ "${ARCH}" == "s390x" ]; then
export MEASURED_ROOTFS=no
else
export MEASURED_ROOTFS=yes
fi
export MEASURED_ROOTFS=no
export PULL_TYPE=default
install_initrd "confidential"
}