Maintainer: Yang Jeong Hun (Nevuly)
Kernel Version | Status |
---|---|
Linux 6.7.x | Stable Support |
The WSL2-Linux-Kernel-Rolling repo contains the latest stable kernel source code and configuration files for the WSL2.
This kernel is automatically built via Github Actions CI whenever a newer stable kernel is released.
If you discover an issue relating to WSL or the WSL2 kernel, please report it on the Issues tab.
If you want to fix a bug or add new features, Please use the Pull Request.
Instructions for building WSL2 kernel with an Arch Linux distribution are as follows:
-
Install the build dependencies (Arch Linux):
$ sudo pacman -S aarch64-linux-gnu-gcc bc bison curl flex gcc git pahole python unzip wget zip
-
Build the kernel using the WSL2 kernel configuration (x86):
$ make KCONFIG_CONFIG=arch/x86/configs/config-wsl-x86
-
Build the kernel using the WSL2 kernel configuration (arm64):
$ export ARCH=arm64 && export CROSS_COMPILE=aarch64-linux-gnu-
$ make KCONFIG_CONFIG=arch/arm64/configs/config-wsl-arm64
-
Save the module to a separate folder (Optional. Only for local build):
$ sudo make modules_install
Please see the documentation on the .wslconfig configuration file for information on using a custom built kernel.