Skip to content

Nevuly/WSL2-Linux-Kernel-Rolling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rolling Release Stable Kernel for WSL2

Stable Kernel CI Release

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:

  1. Install the build dependencies (Arch Linux):
    $ sudo pacman -S aarch64-linux-gnu-gcc bc bison curl flex gcc git pahole python unzip wget zip

  2. Build the kernel using the WSL2 kernel configuration (x86):
    $ make KCONFIG_CONFIG=arch/x86/configs/config-wsl-x86

  3. 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

  4. 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.