Przeglądaj źródła

fix(susfs): always enable OPEN_REDIRECT, drop NoMount overlap toggle

TheWildJames 4 dni temu
rodzic
commit
14b6dbd15a

+ 1 - 19
.github/actions/susfs-config/action.yml

@@ -1,10 +1,5 @@
 name: 'Enable SUSFS Kernel Configs'
 description: 'Enable SUSFS-related kernel configuration options'
-inputs:
-  nomount_enabled:
-    description: 'Set true when NoMount is integrated (disables SUSFS OPEN_REDIRECT to avoid overlapping hook overhead)'
-    required: false
-    default: "false"
 
 runs:
   using: "composite"
@@ -22,17 +17,4 @@ runs:
           CONFIG_KSU_SUSFS_HIDE_KSU_SUSFS_SYMBOLS=y
           CONFIG_KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG=y
           CONFIG_KSU_SUSFS_SUS_MAP=y
-
-    - name: Enable SUSFS Open Redirect (no NoMount)
-      if: inputs.nomount_enabled != 'true'
-      uses: ./.github/actions/set-kernel-config
-      with:
-        config_list: |
-          CONFIG_KSU_SUSFS_OPEN_REDIRECT=y
-
-    - name: Disable SUSFS Open Redirect (NoMount integrated)
-      if: inputs.nomount_enabled == 'true'
-      uses: ./.github/actions/set-kernel-config
-      with:
-        config_list: |
-          CONFIG_KSU_SUSFS_OPEN_REDIRECT=n
+          CONFIG_KSU_SUSFS_OPEN_REDIRECT=y

+ 0 - 6
.github/actions/susfs/action.yml

@@ -24,10 +24,6 @@ inputs:
     description: 'Selected root implementation (kernelsu / next / resukisu). KernelSU (tiann main) needs the 10_enable_susfs_for_ksu patch; other flavors already ship SUSFS.'
     required: false
     default: ""
-  nomount_enabled:
-    description: 'Set true when NoMount is integrated (disables SUSFS OPEN_REDIRECT to avoid overlapping hook overhead)'
-    required: false
-    default: "false"
 
 runs:
   using: "composite"
@@ -58,8 +54,6 @@ runs:
 
     - name: Enable SUSFS Kernel Configs
       uses: ./.github/actions/susfs-config
-      with:
-        nomount_enabled: ${{ inputs.nomount_enabled }}
 
     - name: Apply SUSFS Patches
       uses: ./.github/actions/susfs-patches

+ 0 - 1
.github/workflows/build.yml

@@ -213,7 +213,6 @@ jobs:
         os_patch_level: ${{ inputs.os_patch_level }}
         sublevel: ${{ steps.extract.outputs.sublevel }}
         root_flavor: ${{ inputs.root_flavor }}
-        nomount_enabled: ${{ contains(inputs.feature_set, 'NoMount') }}
 
     - name: Fix selinux_hide pointer-bool-conversion on 6.6+ (ALL branches)
       shell: bash