From 444fd4341d8a573e63ac3e5ee03f8efd07db9b37 Mon Sep 17 00:00:00 2001 From: Bringas4You <49424816+iWeaker4you@users.noreply.github.com> Date: Mon, 22 Mar 2021 12:25:03 -0700 Subject: [PATCH] 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. --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 3dd1ff2..cb4cebf 100755 --- a/install.sh +++ b/install.sh @@ -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"