This action downloads the sukisu repo and applies a KPM patch to the kernel image.
@@ -0,0 +1,19 @@
+name: apply kpm to kernel image
+description: apply kpm patch to kernel image from sukisu
+
+runs:
+ using: composite
+ steps:
+ - name: download sukisu repo and run script to apply kpm compatibility
+ shell: bash
+ run: |
+ git clone https://github.com/SukiSU-Ultra/SukiSU_patch.git
+ cp SukiSU_patch/kpm/patch_linux "$ANYKERNEL"
+ cd "$ANYKERNEL"
+ chmod +x patch_linux
+ ./patch_linux
+ echo "KPM patch applied successfully!"
+ rm patch_linux
+ rm Image
+ mv oImage Image