Maintainer: Yang Jeong Hun (Nevuly)
Kernel Version | Status |
---|---|
Linux 6.6.x | LTS Support |
The WSL2-Linux-Kernel-Rolling-LTS repo contains the latest LTS kernel source code and configuration files for the WSL2.
This kernel is automatically built via Github Actions CI whenever a newer LTS 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.
- The Linux community who created a awesome kernel.
- Microsoft which produced WSL2 and dxgkrnl patches.