Ver Fonte

Update KernelSU configuration in build.yml

Added new KernelSU configuration options and removed conditional checks for build script.

disabled all susfs configs except for essential
jimsterino98 há 6 meses atrás
pai
commit
37b644cc1e
1 ficheiros alterados com 15 adições e 8 exclusões
  1. 15 8
      .github/workflows/build.yml

+ 15 - 8
.github/workflows/build.yml

@@ -228,6 +228,16 @@ jobs:
           # KernelSU Configuration
           CONFIG_KSU=y
           CONFIG_KSU_SUSFS=y
+          CONFIG_KSU_SUSFS_SUS_PATH=n
+          CONFIG_KSU_SUSFS_SUS_MOUNT=n
+          CONFIG_KSU_SUSFS_SUS_MOUNT_MNT_ID_REORDER=n
+          CONFIG_KSU_SUSFS_SUS_KSTAT=n
+          CONFIG_KSU_SUSFS_SUS_MAPS=n
+          CONFIG_KSU_SUSFS_SUS_PROC_FD_LINK=n
+          CONFIG_KSU_SUSFS_SUS_MEMFD=n
+          CONFIG_KSU_SUSFS_TRY_UMOUNT=n
+          CONFIG_KSU_SUSFS_SPOOF_UNAME=n
+          CONFIG_KSU_SUSFS_ENABLE_LOG=n
 
           # Mountify Support
           CONFIG_TMPFS_XATTR=y
@@ -271,14 +281,11 @@ jobs:
           sed -i '$s|echo "\$res"|echo "\$res-Wild"|' ./scripts/setlocalversion
           #Set Kernel Timestamp
           perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Sun Apr 20 04:20:00 UTC 2025"}' ./scripts/mkcompile_h
-          if [ -f "build/build.sh" ]; then
-            #Remove Dirty Flag
-            sed -i 's/-dirty//' ./scripts/setlocalversion
-          else
-            #Remove Abi Exports and Error
-            rm -rf ./android/abi_gki_protected_exports_*
-            perl -pi -e 's/^\s*"protected_exports_list"\s*:\s*"android\/abi_gki_protected_exports_aarch64",\s*$//;' ./BUILD.bazel
-          fi
+          
+          #Remove Abi Exports and Error
+          rm -rf ./android/abi_gki_protected_exports_*
+          perl -pi -e 's/^\s*"protected_exports_list"\s*:\s*"android\/abi_gki_protected_exports_aarch64",\s*$//;' ./BUILD.bazel
+          
 
       - name: Set file name
         run: |