action.yml 523 B

12345678910111213141516171819
  1. name: apply kpm to kernel image
  2. description: apply kpm patch to kernel image from sukisu
  3. runs:
  4. using: composite
  5. steps:
  6. - name: download sukisu repo and run script to apply kpm compatibility
  7. shell: bash
  8. run: |
  9. git clone https://github.com/SukiSU-Ultra/SukiSU_patch.git
  10. cp SukiSU_patch/kpm/patch_linux "$ANYKERNEL3"
  11. cd "$ANYKERNEL3"
  12. chmod +x patch_linux
  13. ./patch_linux
  14. echo "KPM patch applied successfully!"
  15. rm patch_linux
  16. rm Image
  17. mv oImage Image