diff options
| author | Tom Lendacky <thomas.lendacky@amd.com> | 2022-08-09 14:31:06 -0500 |
|---|---|---|
| committer | Tom Lendacky <thomas.lendacky@amd.com> | 2022-08-09 14:31:06 -0500 |
| commit | 6aa2bd0bd606c9a7525869c9599cddcd46126130 (patch) | |
| tree | 38a595d0fdc10255e16f63ea6d88d3720ced1655 | |
| parent | 18dc34486213f66bd27cdd1caf4628c4246bc913 (diff) | |
| download | cachepc-amdsev-6aa2bd0bd606c9a7525869c9599cddcd46126130.tar.gz cachepc-amdsev-6aa2bd0bd606c9a7525869c9599cddcd46126130.zip | |
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
| -rwxr-xr-x | common.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
