aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2022-05-31 17:05:46 -0500
committerTom Lendacky <thomas.lendacky@amd.com>2022-05-31 17:05:46 -0500
commit748814df9fff25633796f15dcce3fa185d5ea576 (patch)
treebd558cf79b3668d8daf13e4135b6148995291872
parent8c668a342688ad945243c68015538dc6b79221da (diff)
downloadcachepc-amdsev-748814df9fff25633796f15dcce3fa185d5ea576.tar.gz
cachepc-amdsev-748814df9fff25633796f15dcce3fa185d5ea576.zip
Clean up kernel config settings
Update the kernel config settings to remove certificate related config and tidy up the existing settings.
-rwxr-xr-xcommon.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/common.sh b/common.sh
index 1ccd72c..5e33b81 100755
--- a/common.sh
+++ b/common.sh
@@ -65,11 +65,14 @@ build_kernel()
run_cmd "cp /boot/config-$(uname -r) .config"
run_cmd ./scripts/config --set-str LOCALVERSION "$VER-$COMMIT"
run_cmd ./scripts/config --disable LOCALVERSION_AUTO
- run_cmd ./scripts/config --disable CONFIG_DEBUG_INFO
- run_cmd ./scripts/config --enable CONFIG_AMD_MEM_ENCRYPT
- run_cmd ./scripts/config --enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
- run_cmd ./scripts/config --enable CONFIG_KVM_AMD_SEV
- run_cmd ./scripts/config --module CRYPTO_DEV_CCP_DD
+ run_cmd ./scripts/config --enable DEBUG_INFO
+ run_cmd ./scripts/config --enable DEBUG_INFO_REDUCED
+ run_cmd ./scripts/config --enable AMD_MEM_ENCRYPT
+ run_cmd ./scripts/config --disable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
+ run_cmd ./scripts/config --enable KVM_AMD_SEV
+ 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
popd >/dev/null
yes "" | $MAKE olddefconfig