Przeglądaj źródła

fix(abi): collapse to 2 gates (pristine capture -> final verify)

- Keep Capture source right after download-kernel (pristine)
- Remove Verify root and Capture blessed (redundant when nothing
  intentionally touches ABI) -> single Verify final before build
  compares pristine manifest vs post-patch tree (root/SUSFS/NoMount/
  all features). Proves ABI never changes with minimal gates.
TheWildJames 2 tygodni temu
rodzic
commit
824ac29709
1 zmienionych plików z 1 dodań i 13 usunięć
  1. 1 13
      .github/workflows/build.yml

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

@@ -191,12 +191,6 @@ jobs:
         config_list: |
           CONFIG_KSU_SUSFS=n
 
-    - name: Verify root ABI/KMI safeguards
-      if: ${{ inputs.preserve_abi }}
-      uses: ./.github/actions/abi-kmi-safeguards
-      with:
-        mode: verify
-
     - name: Resolve SUSFS commit
       id: susfs-cm
       shell: bash
@@ -292,12 +286,6 @@ jobs:
         version: ${{ inputs.version }}
         kernel_version: ${{ inputs.kernel_version }}
 
-    - name: Capture approved feature ABI/KMI baseline
-      if: ${{ inputs.preserve_abi }}
-      uses: ./.github/actions/abi-kmi-safeguards
-      with:
-        mode: capture
-
     - name: Integrate NoMount
       if: ${{ inputs.nomount_commit != '' || contains(inputs.feature_set, 'NoMount') || inputs.feature_set == 'All' }}
       uses: ./.github/actions/nomount
@@ -339,7 +327,7 @@ jobs:
       if: ${{ !inputs.preserve_abi }}
       uses: ./.github/actions/remove-protected-exports
 
-    - name: Verify NoMount ABI/KMI safeguards
+    - name: Verify final ABI/KMI safeguards (pristine vs post-patch, before build)
       if: ${{ inputs.preserve_abi }}
       uses: ./.github/actions/abi-kmi-safeguards
       with: