From 32e91d9d8aec140727009add053fa0b789eb6ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 6 Dec 2022 11:22:46 +0100 Subject: [PATCH] kernel: Export KATA_BUILD_CC in install_cc_tee_kernel() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As already done for install_cc_kernel(), let's ensure we export KATA_BUILD_CC=yes as part of the install_cc_tee_kernel. This is used to generate the hash of the devices in the initramfs. Fixes: #5845 Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh b/tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh index 23a89abb8..87275292d 100755 --- a/tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh +++ b/tools/packaging/kata-deploy/local-build/kata-deploy-binaries.sh @@ -254,6 +254,7 @@ install_cc_virtiofsd() { #Install CC kernel assert, with TEE support install_cc_tee_kernel() { + export KATA_BUILD_CC=yes tee="${1}" kernel_version="${2}"