Skip to content

Commit 66d1a3c

Browse files
committed
chore: update WSL2 kernel configuration to version 6.18.20.1
- bump default kernel branch in README and build workflow to `linux-msft-wsl-6.18.y` - update kernel configuration files to reflect the new version - adjust fetch script to download the latest WSL2 kernel config Signed-off-by: Pavel Pikta <pavel_pikta@epam.com>
1 parent c5f8ec1 commit 66d1a3c

5 files changed

Lines changed: 1914 additions & 758 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
kernelBranch:
88
description: "WSL2-Linux-Kernel branch"
99
required: true
10-
default: "linux-msft-wsl-6.6.y"
10+
default: "linux-msft-wsl-6.18.y"
1111
type: string
1212
build-modules:
1313
description: "Build modules?"
@@ -107,7 +107,7 @@ jobs:
107107
if: github.event.inputs.build-modules == 'true'
108108
run: |
109109
echo "::group::Build modules"
110-
if [[ "${{ github.event.inputs.kernelBranch }}" == "linux-msft-wsl-6.6.y" ]]; then
110+
if [[ "${{ github.event.inputs.kernelBranch }}" == "linux-msft-wsl-6.18.y" ]]; then
111111
make -j$(nproc) INSTALL_MOD_PATH="$PWD/modules" modules_install
112112
if [ ! -f "Microsoft/scripts/gen_modules_vhdx.sh" ]; then
113113
echo "Error: gen_modules_vhdx.sh script not found"
@@ -120,7 +120,7 @@ jobs:
120120
fi
121121
echo "modules-built=true" >> $GITHUB_OUTPUT
122122
else
123-
echo "Error: Module VHDX generation is only supported for branch linux-msft-wsl-6.6.y"
123+
echo "Error: Module VHDX generation is only supported for branch linux-msft-wsl-6.18.y"
124124
echo "Current branch: ${{ github.event.inputs.kernelBranch }}"
125125
exit 1
126126
fi

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Build Status](https://github.com/pavelpikta/wsl2-kernel-build/actions/workflows/build.yml/badge.svg)](https://github.com/pavelpikta/wsl2-kernel-build/actions/workflows/build.yml)
44
[![WSL2](https://img.shields.io/badge/WSL2-Kernel%20Build-0078D4?logo=windows&logoColor=white)](https://github.com/microsoft/WSL2-Linux-Kernel)
55
[![Docker](https://img.shields.io/badge/Docker-Compatible-2496ED?logo=docker&logoColor=white)](https://www.docker.com/)
6-
[![Linux Kernel](https://img.shields.io/badge/Linux%20Kernel-6.6+-FCC624?logo=linux&logoColor=black)](https://www.kernel.org/)
6+
[![Linux Kernel](https://img.shields.io/badge/Linux%20Kernel-6.18+-FCC624?logo=linux&logoColor=black)](https://www.kernel.org/)
77
[![Shell Script](https://img.shields.io/badge/Shell-Bash-4EAA25?logo=gnu-bash&logoColor=white)](https://www.gnu.org/software/bash/)
88

99
A repository for building WSL2 Linux kernels with Docker compatibility and BBR (Bottleneck Bandwidth and RTT) support. This project provides automated tools and configurations to patch Microsoft's WSL2 kernel source with the necessary kernel options required for running Docker and improving network performance.
@@ -85,7 +85,7 @@ The script will:
8585
2. Select the **Build** workflow
8686
3. Click **Run workflow**
8787
4. Configure the build parameters:
88-
- **kernelBranch**: WSL2-Linux-Kernel branch (default: `linux-msft-wsl-6.6.y`)
88+
- **kernelBranch**: WSL2-Linux-Kernel branch (default: `linux-msft-wsl-6.18.y`)
8989
- **build-modules**: Whether to build kernel modules (default: `false`)
9090
- **custom-config**: Use custom config from this repository (default: `false`)
9191
5. Click **Run workflow**

0 commit comments

Comments
 (0)