5.4.106, 5.10.24, 5.11.7

This commit is contained in:
Tk-Glitch
2021-03-17 23:15:04 +01:00
parent 775a5e9692
commit dc110c9fe3
2 changed files with 10 additions and 35 deletions

View File

@@ -1,11 +1,11 @@
#!/bin/bash
ver54=105
ver54=106
ver57=19
ver58=18
ver59=16
ver510=23
ver511=6
ver510=24
ver511=7
ver512=rc3
_cpuschedselector() {
@@ -1116,20 +1116,6 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
echo "winesync" > ../winesync.conf
fi
# ZFS fix
if [ "$_basever" = "54" ] || [ "$_basever" = "57" ] || [ "$_basever" = "58" ]; then
if [ -z "$_zfsfix" ]; then
plain ""
plain "Add back missing symbol for AES-NI/AVX support on ZFS"
plain "https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/export_kernel_fpu_functions_5_3.patch"
read -rp "`echo $' > N/y : '`" CONDITION11;
fi
if [[ "$CONDITION11" =~ [yY] ]] || [ "$_zfsfix" = "true" ]; then
msg2 "Patching missing symbol for AES-NI/AVX support on ZFS"
tkgpatch="$srcdir/0011-ZFS-fix.patch" && _tkg_patcher
fi
fi
# Anbox modules
if [ "$_basever" != "54" ]; then
if [ -z "$_anbox" ]; then
@@ -1141,6 +1127,7 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
if [[ "$CONDITION12" =~ [yY] ]] || [ "$_anbox" = "true" ]; then
echo "CONFIG_ASHMEM=y" >> ./.config
echo "CONFIG_ION=y" >> ./.config
echo "ION_CMA_HEAP=y" >> ./.config
echo "# CONFIG_ION_SYSTEM_HEAP is not set" >> ./.config
echo "CONFIG_ANDROID=y" >> ./.config
echo "CONFIG_ANDROID_BINDER_IPC=y" >> ./.config