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:
parent
66cfcb1a6b
commit
444fd4341d
@ -271,6 +271,10 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
|||||||
#Help Debian UEFI cert compile problem
|
#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
|
sed -i -e 's#CONFIG_SYSTEM_TRUSTED_KEYS="debian/certs/debian-uefi-certs.pem"#CONFIG_SYSTEM_TRUSTED_KEYS=""#g' .config
|
||||||
fi
|
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
|
yes '' | make ${llvm_opt} oldconfig
|
||||||
msg2 "Done"
|
msg2 "Done"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user