Skip to content

Commit

Permalink
更新 build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luyanci authored Jan 5, 2025
1 parent e5e89de commit 8c6fe31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ jobs:
# Add Patch to kernel before 5.9
git am -s < ${{ env.WORKSPACE }}/Kernelsu/Patch/path_umount.patch
# git am -s < ${{ env.WORKSPACE }}/Kernelsu/Patch/get_cred_rcu.patch #not work
sed -i '260 r ${{ env.WORKSPACE }}/Kernelsu/Patch/get_cred_rcu.h' ./include/linux/cred.h
sed -i 's/atomic_inc_not_zero(&((struct cred \*)cred)->usage)/get_cred_rcu(cred)/g' ./kernel/cred.c
# sed -i '260 r ${{ env.WORKSPACE }}/Kernelsu/Patch/get_cred_rcu.h' ./include/linux/cred.h
# sed -i 's/atomic_inc_not_zero(&((struct cred \*)cred)->usage)/get_cred_rcu(cred)/g' ./kernel/cred.c
- name: 😋 Setup LXC docker
working-directory: ${{ env.KERNEL_NAME }}
env:
Expand Down

0 comments on commit 8c6fe31

Please sign in to comment.