ci: fixed issues

This commit is contained in:
Rifat Azad
2025-01-07 23:44:21 +06:00
parent 8d7a69bd64
commit 0f9bd38e3c
5 changed files with 17 additions and 17 deletions

View File

@@ -17,12 +17,12 @@ on:
workflow_dispatch:
jobs:
# build-lkm:
# uses: ./.github/workflows/build-lkm.yml
# secrets: inherit
build-lkm:
uses: ./.github/workflows/build-lkm.yml
secrets: inherit
build-ksud_overlayfs:
# needs: build-lkm
needs: build-lkm
strategy:
matrix:
include:

View File

@@ -25,13 +25,13 @@ jobs:
with:
fetch-depth: 0
# - name: Download artifacts
# uses: actions/download-artifact@v4
- name: Download artifacts
uses: actions/download-artifact@v4
# - name: Prepare LKM fies
# if: ${{ inputs.pack_lkm }}
# run: |
# cp android*-lkm/*_kernelsu.ko ./userspace/ksud_magic/bin/aarch64/
- name: Prepare LKM fies
if: ${{ inputs.pack_lkm }}
run: |
cp android*-lkm/*_kernelsu.ko ./userspace/ksud_magic/bin/aarch64/
- name: Setup rustup
run: |

View File

@@ -25,13 +25,13 @@ jobs:
with:
fetch-depth: 0
# - name: Download artifacts
# uses: actions/download-artifact@v4
- name: Download artifacts
uses: actions/download-artifact@v4
# - name: Prepare LKM fies
# if: ${{ inputs.pack_lkm }}
# run: |
# cp android*-lkm/*_kernelsu.ko ./userspace/ksud_overlayfs/bin/aarch64/
- name: Prepare LKM fies
if: ${{ inputs.pack_lkm }}
run: |
cp android*-lkm/*_kernelsu.ko ./userspace/ksud_overlayfs/bin/aarch64/
- name: Setup rustup
run: |

View File

@@ -430,7 +430,7 @@ fun getAppProfileTemplate(id: String): String {
fun moduleMigration(): Boolean {
val shell = getRootShell()
// mirgate modules for module system switch
return ShellUtils.fastCmdResult(shell, "cp -r /data/adb/modules/* /data/adb/modules_update/")
return ShellUtils.fastCmdResult(shell, "mv /data/adb/modules/* /data/adb/modules_update/")
}
fun setAppProfileTemplate(id: String, template: String): Boolean {