Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Mar 16, 2024
1 parent 38335ab commit bb30171
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/avd-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ jobs:
echo "[+] Add KernelSU driver to Makefile"
DRIVER_MAKEFILE=$GKI_ROOT/common/drivers/Makefile
grep -q "kernelsu" "$DRIVER_MAKEFILE" || printf "\nobj-y += kernelsu/\n" >> "$DRIVER_MAKEFILE"
cat $DRIVER_MAKEFILE
ls -al $GKI_ROOT/common/drivers
ls -al $GKI_ROOT/common/drivers/kernelsu/
echo "[+] Apply KernelSU patches"
cd $GKI_ROOT/common/ && git apply $GITHUB_WORKSPACE/KernelSU/.github/patches/$PATCH_PATH/*.patch || echo "[-] No patch found"
Expand Down Expand Up @@ -122,7 +119,7 @@ jobs:
export KSU_EXPECTED_SIZE=${{ vars.EXPECTED_SIZE }}
export KSU_EXPECTED_HASH=${{ vars.EXPECTED_HASH }}
fi
tools/bazel run --config=android_ci --config=stamp --lto=thin --verbose_failures --sandbox_debug //common-modules/virtual-device:virtual_device_${{ inputs.arch }}_dist -- --dist_dir=dist
tools/bazel run --config=android_ci --config=stamp --lto=thin //common-modules/virtual-device:virtual_device_${{ inputs.arch }}_dist -- --dist_dir=dist
NAME=kernel-${{ inputs.arch }}-avd-${{ inputs.version_name }}-${{ env.kernelsu_version }}
TARGET_IMAGE=dist/bzImage
if [ ! -e $TARGET_IMAGE ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-kernel-avd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Kernel - Android 14 AVD
name: Build Kernel - AVD
on:
push:
branches: ["main", "ci", "checkci"]
Expand Down

0 comments on commit bb30171

Please sign in to comment.