Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
oldshensheep committed Apr 17, 2023
1 parent c84cc99 commit 2a7a838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ git clone --branch ${WSL2_Linux_Kernel_BRANCH} --depth 1 --single-branch https:
mv WSL2-Linux-Kernel ${BUILD_DIR}/kbuild/

# Using Microsoft config-wsl
cp ${BUILD_DIR}/kbuild/WSL2-Linux-Kernel/Microsoft/config-wsl -O ${BUILD_DIR}/kbuild/WSL2-Linux-Kernel/.config
cp ${BUILD_DIR}/kbuild/WSL2-Linux-Kernel/Microsoft/config-wsl ${BUILD_DIR}/kbuild/WSL2-Linux-Kernel/.config

# Change the kernel name
sed -i 's/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION="-${KERNELNAME}"/g' ${BUILD_DIR}/kbuild/WSL2-Linux-Kernel/.config
Expand Down

0 comments on commit 2a7a838

Please sign in to comment.