Awesome
Rolling Release Stable Kernel for WSL2
Maintainer: Yang Jeong Hun (Nevuly)
Current Kernel Status
Kernel Version | Status |
---|---|
Linux 6.12.x | Stable Support |
Introduction
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.
Reporting Bugs
If you discover an issue relating to WSL or the WSL2 kernel, please report it on the Issues tab.
Feature Requests
If you want to fix a bug or add new features, Please use the Pull Request.
Build Instructions
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
Install Instructions
Please see the documentation on the .wslconfig configuration file for information on using a custom built kernel.
Credits
- The Linux community who created a awesome kernel.
- Microsoft which produced WSL2 and dxgkrnl patches.