Debian UEFI cert compile problem (#126)

This commit is contained in:
iWeaker4you 2020-11-21 07:10:49 -08:00 committed by GitHub
parent 2f7a9034c4
commit 89f3c1f4b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,8 +203,11 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
else
msg2 "Current kernel config not found! Falling back to default..."
fi
if [ "$_distro" = "Debian" ]; then #Help Debian cert problem.
sed -i -e 's#CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/test-signing-certs.pem"#CONFIG_SYSTEM_TRUSTED_KEYS=""#g' .config
if [ "$_distro" = "Debian" ]; then
#Help Debian cert compile problem.
sed -i -e 's#CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/test-signing-certs.pem"#CONFIG_SYSTEM_TRUSTED_KEYS=""#g' .config
#Help Debian UEFI cert compile problem
sed -i -e 's#CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem"#CONFIG_SYSTEM_TRUSTED_KEYS=""#g' .config
fi
yes '' | make ${llvm_opt} oldconfig
msg2 "Done"