Skip to content

Commit

Permalink
更新 build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luyanci authored Dec 30, 2024
1 parent 5356ccb commit e5e89de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +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
- name: 😋 Setup LXC docker
working-directory: ${{ env.KERNEL_NAME }}
env:
Expand Down

0 comments on commit e5e89de

Please sign in to comment.