From 6aa2bd0bd606c9a7525869c9599cddcd46126130 Mon Sep 17 00:00:00 2001 From: Tom Lendacky Date: Tue, 9 Aug 2022 14:31:06 -0500 Subject: Build updates and fixes Updates: - Build the the SEV guest module - Disable IOMMU passthrough mode in the kernel config Fixes: - Use the build directory when moving the RPM files --- common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common.sh b/common.sh index 5e33b81..9438b62 100755 --- a/common.sh +++ b/common.sh @@ -73,6 +73,8 @@ build_kernel() run_cmd ./scripts/config --module CRYPTO_DEV_CCP_DD run_cmd ./scripts/config --disable SYSTEM_TRUSTED_KEYS run_cmd ./scripts/config --disable SYSTEM_REVOCATION_KEYS + run_cmd ./scripts/config --module SEV_GUEST + run_cmd ./scripts/config --module IOMMU_DEFAULT_PASSTHROUGH popd >/dev/null yes "" | $MAKE olddefconfig @@ -84,7 +86,7 @@ build_kernel() run_cmd $MAKE bindeb-pkg else run_cmd $MAKE "RPMOPTS='--define \"_rpmdir .\"'" binrpm-pkg - run_cmd mv ${1}/x86_64/*.rpm . + run_cmd mv ${V}/x86_64/*.rpm . fi done -- cgit v1.2.3-71-gd317