Skip to content

Commit

Permalink
更新 xxxbuild-kernel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
X-PenBak authored Feb 18, 2024
1 parent cb4cf91 commit 838d2fa
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/xxxbuild-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,34 +111,8 @@ jobs:
git clone https://github.com/wu17481748/android_kernel_4.14_oppo_mtk5g.git android-kernel --depth=1
git clone https://github.com/wu17481748/android_kernel_modules_oppo_mtk5g.git
mv android_kernel_modules_oppo_mtk5g/* ./
- name: Setup LXC_DOCKER
if: env.LXC_DOCKER == 'true'
run: |
cd $GITHUB_WORKSPACE/kernel_workspace
wget https://github.com/wu17481748/lxc-docker/releases/download/lxc-docker-2config/LXC-DOCKER-OPEN-CONFIG.sh
chmod 777 LXC-DOCKER-OPEN-CONFIG.sh
./LXC-DOCKER-OPEN-CONFIG.sh android-kernel/arch/arm64/configs/${{ env.KERNEL_CONFIG }} -w
- name: Setup LXC_PATCH
if: env.LXC_PATCH == 'true'
run: |
cd $GITHUB_WORKSPACE/kernel_workspace
wget https://github.com/wu17481748/lxc-docker/releases/download/lxc/lxc.patch
patch -p0 < lxc.patch
- name: Setup CLOSE ANDROID_PARANOID_NETWORK
if: env.ANDROID_PARANOID_NETWORK_OFF == 'true'
run: |
cd $GITHUB_WORKSPACE/kernel_workspace
sed -i '/CONFIG_ANDROID_PARANOID_NETWORK/d' android-kernel/arch/arm64/configs/${{ env.KERNEL_CONFIG }}
echo "# CONFIG_ANDROID_PARANOID_NETWORK is not set" >> android-kernel/arch/arm64/configs/${{ env.KERNEL_CONFIG }}
- name: Download source boot image
- name: Download source boot image
if: env.BUILD_BOOT_IMG == 'true'
run: |
cd $GITHUB_WORKSPACE/kernel_workspace
Expand Down

0 comments on commit 838d2fa

Please sign in to comment.