Skip to content

Commit 859aff6

Browse files
authored
Update LOS-OP7-SM8150-Kernel.yml
1 parent ffee446 commit 859aff6

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/LOS-OP7-SM8150-Kernel.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,8 @@ jobs:
4343
- name: Download kernel source
4444
run: |
4545
cd $GITHUB_WORKSPACE/kernel_workspace
46-
git clone --recursive https://github.com/LineageOS/android_kernel_oneplus_sm8150 -b lineage-22.1 android-kernel --depth=1
46+
git clone --recursive https://github.com/Codecity001/android_kernel_oneplus_sm8150 -b 15-c-ksu android-kernel --depth=1
4747
48-
- name: Set up rsuntk KernelSU
49-
run: |
50-
cd $GITHUB_WORKSPACE/patches
51-
sed -i '1655 r path_umount.c' $GITHUB_WORKSPACE/kernel_workspace/android-kernel/fs/namespace.c
52-
cd $GITHUB_WORKSPACE/kernel_workspace/android-kernel
53-
#curl -LSs "https://raw.githubusercontent.com/rsuntk/KernelSU/main/kernel/setup.sh" | bash -s main
54-
curl -LSs "https://raw.githubusercontent.com/tiann/KernelSU/main/kernel/setup.sh" | bash -s v0.9.5
55-
bash $GITHUB_WORKSPACE/patches/patches.sh
56-
if ! grep -q "CONFIG_KSU=y" arch/arm64/configs/vendor/sm8150-perf_defconfig; then
57-
sed -i '$a # KernelSU\nCONFIG_KSU=y' arch/arm64/configs/vendor/sm8150-perf_defconfig
58-
fi
59-
KSU_VERSION=$(cd KernelSU && expr $(/usr/bin/git rev-list --count HEAD) + 10200)
60-
echo "KSUVER=$KSU_VERSION" >> $GITHUB_ENV
61-
cd scripts
62-
sed -i 's/ -dirty//g' setlocalversion
6348
6449
- name: Build kernel with rsuntk KernelSU
6550
run: |

0 commit comments

Comments
 (0)