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 f1094f9 commit bbbe015
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/avd-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ jobs:
DRIVER_MAKEFILE=$GKI_ROOT/common/drivers/Makefile
grep -q "kernelsu" $DRIVER_MAKEFILE || echo "obj-y += kernelsu/" >> $DRIVER_MAKEFILE
cat $DRIVER_MAKEFILE
tree $GKI_ROOT/common/drivers
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 @@ -121,7 +122,7 @@ jobs:
export KSU_EXPECTED_SIZE=${{ vars.EXPECTED_SIZE }}
export KSU_EXPECTED_HASH=${{ vars.EXPECTED_HASH }}
fi
tools/bazel run --config=fast --config=stamp --lto=thin --verbose_failures --sandbox_debug //common-modules/virtual-device:virtual_device_${{ inputs.arch }}_dist -- --dist_dir=dist || echo "Build failed? ignore"
tools/bazel run --config=fast --config=stamp --lto=thin --verbose_failures --sandbox_debug //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

0 comments on commit bbbe015

Please sign in to comment.