| 12345678910111213141516171819202122232425262728293031323334353637 |
- name: 'Setup SUSFS Branch'
- description: 'Clone SUSFS repo and cherry-pick commits'
- inputs:
- susfs_commit:
- description: 'SUSFS commit hash (empty = latest on auto-derived gki-{version} branch)'
- required: false
- default: ""
- version:
- description: 'Kernel config version (e.g., android15-6.6)'
- required: true
- runs:
- using: "composite"
- steps:
- - name: Clone SUSFS Branch
- shell: bash
- run: |
- set -euo pipefail
- SUSFS_BRANCH="gki-${{ inputs.version }}"
- SUSFS_REPO="https://gitlab.com/simonpunk/susfs4ksu.git"
- echo "Preparing SUSFS for branch: $SUSFS_BRANCH"
- echo "Cloning latest from $SUSFS_BRANCH..."
- git clone "$SUSFS_REPO" -b "$SUSFS_BRANCH" susfs4ksu
- if [ -n "${{ inputs.susfs_commit }}" ]; then
- echo "Checking out SUSFS commit: ${{ inputs.susfs_commit }}"
- cd ${{ github.workspace }}/susfs4ksu
- git checkout "${{ inputs.susfs_commit }}"
- fi
- cd susfs4ksu
- patch -p1 < "${{ github.workspace }}/kernel_patches/pershoot/susfs4ksu/0001-pershoot-Allow-core-to-be-built-with-no-features.patch"
- patch -p1 < "${{ github.workspace }}/kernel_patches/pershoot/susfs4ksu/0002-pershoot-Implement-SuSFS-and-Toolkit-coexistence.patch"
|