Fix build fail certificate UEFI on Debian 5.7/5.8/5.9rc (#68)

* Fix build fail certificate uefi on Debian 5.8

* Fix build fail, certificate uefi on Debian 5.7

* Fix build fail, certificate uefi on Debian 5.9rc
This commit is contained in:
iWeaker4you
2020-09-14 08:19:55 -07:00
committed by GitHub
parent 8bca1a8215
commit f2536137fd
3 changed files with 3 additions and 0 deletions

View File

@@ -140,6 +140,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
cp /boot/config-`uname -r` .config
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
sed -i -e 's#CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem"#CONFIG_SYSTEM_TRUSTED_KEYS=""#g' .config
fi
yes '' | make oldconfig
msg2 "Done"

View File

@@ -140,6 +140,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
cp /boot/config-`uname -r` .config
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
sed -i -e 's#CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem"#CONFIG_SYSTEM_TRUSTED_KEYS=""#g' .config
fi
yes '' | make oldconfig
msg2 "Done"

View File

@@ -139,6 +139,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
cp /boot/config-`uname -r` .config
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
sed -i -e 's#CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem"#CONFIG_SYSTEM_TRUSTED_KEYS=""#g' .config
fi
yes '' | make oldconfig
msg2 "Done"