From 9fcaab553ed3516830f6cd9e074859f90be0be38 Mon Sep 17 00:00:00 2001 From: xiaoleGun <1592501605@qq.com> Date: Sat, 6 Jan 2024 15:02:41 +0800 Subject: [PATCH] CI: Add conditions for kprobes Signed-off-by: xiaoleGun <1592501605@qq.com> --- .github/workflows/build-kernel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-kernel.yml b/.github/workflows/build-kernel.yml index f0acaf5fba..29fabf3dd0 100644 --- a/.github/workflows/build-kernel.yml +++ b/.github/workflows/build-kernel.yml @@ -198,7 +198,7 @@ jobs: exit 1 fi fi - if [ ${{ env.ADD_KPROBES_CONFIG }} = true ]; then + if [ ${{ env.ADD_KPROBES_CONFIG }} = true -a ${{ env.APPLY_KSU_PATCH }} != true ]; then echo "CONFIG_MODULES=y" >> arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }} echo "CONFIG_KPROBES=y" >> arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }} echo "CONFIG_HAVE_KPROBES=y" >> arch/${{ env.ARCH }}/configs/${{ env.KERNEL_CONFIG }}