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
master
iWeaker4you 2020-09-14 08:19:55 +07:00 committed by GitHub
parent 8bca1a8215
commit f2536137fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

@ -140,6 +140,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
cp /boot/config-`uname -r` .config cp /boot/config-`uname -r` .config
if [ "$_distro" = "Debian" ]; then #Help Debian cert problem. 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/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 fi
yes '' | make oldconfig yes '' | make oldconfig
msg2 "Done" msg2 "Done"

@ -140,6 +140,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
cp /boot/config-`uname -r` .config cp /boot/config-`uname -r` .config
if [ "$_distro" = "Debian" ]; then #Help Debian cert problem. 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/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 fi
yes '' | make oldconfig yes '' | make oldconfig
msg2 "Done" msg2 "Done"

@ -139,6 +139,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
cp /boot/config-`uname -r` .config cp /boot/config-`uname -r` .config
if [ "$_distro" = "Debian" ]; then #Help Debian cert problem. 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/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 fi
yes '' | make oldconfig yes '' | make oldconfig
msg2 "Done" msg2 "Done"