diff --git a/PKGBUILD b/PKGBUILD index ac76798..6e738a7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -70,7 +70,7 @@ case $_basever in opt_ver="4.19-v5.4" source=("$kernel_site" "$patch_site" - "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/might_not_work/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v4.19-v5.4.patch" + "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v4.19-v5.4.patch" 'config.x86_64' # stock Arch config 'config_hardened.x86_64' # hardened Arch config 90-cleanup.hook @@ -120,10 +120,10 @@ case $_basever in 'aeb31404c26ee898d007b1f66cb9572c9884ad8eca14edc4587d68f6cba6de46') ;; 57) - opt_ver="5.7%2B" + opt_ver="5.7" source=("$kernel_site" "$patch_site" - "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/might_not_work/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.7%2B.patch" + "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.7.patch" 'config.x86_64' # stock Arch config 'config_hardened.x86_64' # hardened Arch config 90-cleanup.hook diff --git a/install.sh b/install.sh index e65b4f2..90b4c1a 100755 --- a/install.sh +++ b/install.sh @@ -209,11 +209,9 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then case "$_basever" in "54") opt_ver="4.19-v5.4" - opt_urladdon="might_not_work/" ;; "57") - opt_ver="5.7+" - opt_urladdon="might_not_work/" + opt_ver="5.7" ;; "58") opt_ver="5.8+" @@ -232,7 +230,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then ;; esac - wget "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/${opt_urladdon}enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v${opt_ver}.patch" + wget "https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v${opt_ver}.patch" # Follow Ubuntu install isntructions in https://wiki.ubuntu.com/KernelTeam/GitKernelBuild