An open API service indexing awesome lists of open source software.

https://github.com/nevuly/wsl2-linux-kernel-rolling

Rolling Release Stable Kernel for Windows Subsystem for Linux2 (WSL2)
https://github.com/nevuly/wsl2-linux-kernel-rolling

linux-kernel rolling-release stable-kernel stable-rolling wsl2 wsl2-kernel

Last synced: 2 days ago
JSON representation

Rolling Release Stable Kernel for Windows Subsystem for Linux2 (WSL2)

Awesome Lists containing this project

README

          

# Rolling Release Stable Kernel for WSL2

[![Stable Kernel CI](https://img.shields.io/github/actions/workflow/status/Nevuly/WSL2-Linux-Kernel-Rolling/trigger.yml?label=github%20actions%20build&logo=github-actions&logoColor=%23FFFFFF&style=for-the-badge&labelColor=%23000000)](https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/actions/workflows/trigger.yml)
[![Release](https://img.shields.io/github/v/release/Nevuly/WSL2-Linux-Kernel-Rolling?display_name=tag&label=LATEST&logo=Linux&logoColor=%23FFFFFF&style=for-the-badge&labelColor=%23000000)](https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/releases/latest)

Maintainer: Yang Jeong Hun (Nevuly)

## Introduction
The [WSL2-Linux-Kernel-Rolling][wsl2-kernel-rolling] repo contains the latest stable kernel source code and
configuration files for the [WSL2][about-wsl2].

This kernel is automatically built via [Github Actions][gh-actions] CI whenever a [newer stable kernel is released][kernel-stable].

## Install Instructions
Please see this [wiki][wiki].

## Reporting Bugs
If you discover an issue relating to WSL or the WSL2 kernel, please report it on
the [Issues tab][issue].

## Feature Requests
If you want to fix a bug or add new features, Please use the [Pull Request][pr].

## 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`

## Credits
* The Linux community who created a awesome kernel.
* Microsoft which produced WSL2 and dxgkrnl patches.

[wsl2-kernel-rolling]: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling
[about-wsl2]: https://docs.microsoft.com/en-us/windows/wsl/about#what-is-wsl-2
[gh-actions]: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/actions
[kernel-stable]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[wiki]: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/wiki/Install-Instructions
[issue]: https://github.com/Nevuly/WSL2-Rolling-Kernel-Issue/issues
[pr]: https://github.com/Nevuly/WSL2-Linux-Kernel-Rolling/pulls