From 89f3c1f4b339f4abaf85ebfcd53ecd89a1ee823d Mon Sep 17 00:00:00 2001 From: iWeaker4you <49424816+iWeaker4you@users.noreply.github.com> Date: Sat, 21 Nov 2020 07:10:49 -0800 Subject: [PATCH] Debian UEFI cert compile problem (#126) --- install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 86709ab..bf7037b 100755 --- a/install.sh +++ b/install.sh @@ -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"