|
|
@@ -143,7 +143,7 @@ jobs:
|
|
|
$REPO --version
|
|
|
$REPO --trace sync -c -j$(nproc --all) --no-tags --fail-fast
|
|
|
|
|
|
- - name: Determine the branch for kernelsu
|
|
|
+ - name: Determine the branch for KernelSU & MKSU
|
|
|
if: ${{ inputs.kernelsu_variant == 'Official' || inputs.kernelsu_variant == 'MKSU' }}
|
|
|
run: |
|
|
|
if [[ "${{ inputs.kernelsu_branch }}" == "Stable" ]]; then
|
|
|
@@ -199,11 +199,11 @@ jobs:
|
|
|
curl -LSs "https://raw.githubusercontent.com/5ec1cff/KernelSU/main/kernel/setup.sh" | bash $BRANCH
|
|
|
|
|
|
# Revert commit of remove pts_unix98_lookup_pre
|
|
|
- cd KernelSU
|
|
|
- git revert -m 1 3a73585 -n
|
|
|
- KSU_VERSION=$(expr $(/usr/bin/git rev-list --count HEAD) "+" 12063)
|
|
|
- echo "KSUVER=$KSU_VERSION" >> $GITHUB_ENV
|
|
|
- sed -i "s/DKSU_VERSION=16/DKSU_VERSION=${KSU_VERSION}/" kernel/Makefile
|
|
|
+ #cd KernelSU
|
|
|
+ #git revert -m 1 3a73585 -n
|
|
|
+ #KSU_VERSION=$(expr $(/usr/bin/git rev-list --count HEAD) "+" 12063)
|
|
|
+ #echo "KSUVER=$KSU_VERSION" >> $GITHUB_ENV
|
|
|
+ #sed -i "s/DKSU_VERSION=16/DKSU_VERSION=${KSU_VERSION}/" kernel/Makefile
|
|
|
|
|
|
- name: Apply SUSFS Patches KernelSU
|
|
|
if: ${{ inputs.kernelsu_variant == 'Official' }}
|