diff --git a/build_kernel.sh b/build_kernel.sh index b260a50..313a433 100755 --- a/build_kernel.sh +++ b/build_kernel.sh @@ -10,7 +10,7 @@ mkdir ${BUILD_DIR}/kbuild # download source of kernel -git clone -branch ${WSL2_Linux_Kernel_BRANCH} -depth 1 --single-branch https://github.com/microsoft/WSL2-Linux-Kernel.git +git clone --branch ${WSL2_Linux_Kernel_BRANCH} --depth 1 --single-branch https://github.com/microsoft/WSL2-Linux-Kernel.git mv WSL2-Linux-Kernel ${BUILD_DIR}/kbuild/ # Using Microsoft config-wsl diff --git a/config.sh b/config.sh index 2447623..cff64ea 100644 --- a/config.sh +++ b/config.sh @@ -1,7 +1,7 @@ #!/bin/bash export KERNELVER="6.1.21.1" -export WSL2_Linux_Kernel_BRANCH="linux-msft-wsl-6.1.21.1" +export WSL2_Linux_Kernel_BRANCH="linux-msft-wsl-6.1.y" export ZFSVER="2.1.10" # https://zfsonlinux.org/