Fix Debian / Ubuntu compile due to .config (#217)
* Update install.sh * Update prepare
This commit is contained in:
11
install.sh
11
install.sh
@@ -260,16 +260,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
||||
# cd in linux folder, copy Ubuntu's current config file, update with new params
|
||||
cd "$_where"/linux-src-git
|
||||
|
||||
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
|
||||
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"
|
||||
|
||||
|
Reference in New Issue
Block a user