From 9d828e5c63ca24c5a25d8ee0b01482394302e04e Mon Sep 17 00:00:00 2001 From: heDuke <86513934+heDuke@users.noreply.github.com> Date: Sat, 17 Oct 2026 20:08:24 +0800 Subject: [PATCH 1/2] ci: fix reusable workflow inputs after upstream integration build-manager.yml passes the PR-build signing key to build-lkm.yml as expected_size2/expected_hash2, but cec8cc4e replaced build-lkm.yml's inputs with upstream's package_name/expected_size/expected_hash and forwarded package_name to ddk-lkm.yml, which does not declare it. GitHub rejects the run at startup (startup_failure). Restore build-lkm.yml to its pre-cec8cc4e form: accept expected_size2/hash2 and forward them to ddk-lkm.yml as *2 (secondary/PR signature), pin ddk_release 20260313, and drop android17-6.18 from the matrix since no ghcr.io/ylarod/ddk-min:android17-6.18-20260313 image exists. --- .github/workflows/build-lkm.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-lkm.yml b/.github/workflows/build-lkm.yml index 74e9909af9cc..abc98a9821b7 100644 --- a/.github/workflows/build-lkm.yml +++ b/.github/workflows/build-lkm.yml @@ -2,18 +2,13 @@ name: Build LKM for KernelSU on: workflow_call: inputs: - package_name: - description: 'package name of manager' + expected_size2: + description: 'Second expected signature size (for PR builds)' required: false default: '' type: string - expected_size: - description: 'expected signature size' - required: false - default: '' - type: string - expected_hash: - description: 'expected signature hash' + expected_hash2: + description: 'Second expected signature hash (for PR builds)' required: false default: '' type: string @@ -30,10 +25,9 @@ jobs: - android14-6.1 - android15-6.6 - android16-6.12 - - android17-6.18 uses: ./.github/workflows/ddk-lkm.yml with: kmi: ${{ matrix.kmi }} - package_name: ${{ inputs.package_name || '' }} - expected_size: ${{ inputs.expected_size || '' }} - expected_hash: ${{ inputs.expected_hash || '' }} + ddk_release: '20260313' + expected_size2: ${{ inputs.expected_size2 || '' }} + expected_hash2: ${{ inputs.expected_hash2 || '' }} From 1d6f796f7d60c5e1385888af6afd9097448d468b Mon Sep 17 00:00:00 2001 From: heDuke <86513934+heDuke@users.noreply.github.com> Date: Sat, 17 Oct 2026 20:24:00 +0800 Subject: [PATCH 2/2] ci: don't expect a riscv64 ksuinit artifact in ksud-extra cec8cc4e added 'mv ksuinit-riscv64/ksuinit' to ksud-extra.yml, but ksuinit.yml only builds/uploads aarch64 and x86_64, so every build-ksud-extra job failed with 'cannot stat ksuinit-riscv64/ksuinit'. The extra (host) targets don't embed a riscv64 ksuinit; restore the pre-cec8cc4e step. --- .github/workflows/ksud-extra.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ksud-extra.yml b/.github/workflows/ksud-extra.yml index 10f5a07ffa67..c4136a078b1e 100644 --- a/.github/workflows/ksud-extra.yml +++ b/.github/workflows/ksud-extra.yml @@ -39,7 +39,6 @@ jobs: run: | mv ksuinit-aarch64/ksuinit ./userspace/ksud/bin/aarch64/ mv ksuinit-x86_64/ksuinit ./userspace/ksud/bin/x86_64/ - mv ksuinit-riscv64/ksuinit ./userspace/ksud/bin/riscv64/ - name: Setup rustup run: |