Fix compilation on Ubuntu due canonical-certs (#207)

Apparently in the new versions of the kernel or some configuration that I do not know but with this it is solved, almost very similar to Debian.
This commit is contained in:
Bringas4You 2021-03-22 12:25:03 -07:00 committed by GitHub
parent 66cfcb1a6b
commit 444fd4341d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,6 +271,10 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
#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
if [ "$_distro" = "Ubuntu" ]; then
#Help Ubuntu cert compile problem.
sed -i -e 's#CONFIG_SYSTEM_TRUSTED_KEYS="debian/canonical-certs.pem"#CONFIG_SYSTEM_TRUSTED_KEYS=""#g' .config
fi
yes '' | make ${llvm_opt} oldconfig
msg2 "Done"