File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 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 : |
You can’t perform that action at this time.
0 commit comments