Skip to content

Commit

Permalink
Support older WSL kernels
Browse files Browse the repository at this point in the history
This bumps the WSL distro to 0.57, and drops the required WSL kernel
version to 5.0 since the new distro supports older kernels (by picking the
correct iptables binary at runtime).

Note that the WSL distro bump also updates nerdctl as a side-effect; that
has very few commits.

Signed-off-by: Mark Yen <[email protected]>
  • Loading branch information
mook-as committed Mar 15, 2024
1 parent 92abdb1 commit ed5794f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/rancher-desktop/assets/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ limaAndQemu: 1.31.3
alpineLimaISO:
isoVersion: 0.2.35.rd2
alpineVersion: 3.19.0
WSLDistro: "0.55"
WSLDistro: "0.57"
kuberlr: 0.4.5
helm: 3.14.2
dockerCLI: 25.0.4
Expand Down
2 changes: 1 addition & 1 deletion src/go/wsl-helper/pkg/wsl-utils/version_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ var (
kUpgradeCodeOverride = &struct{}{}
// MinimumKernelVersion is the minimum WSL kernel version required to not be
// considered outdated.
MinimumKernelVersion = PackageVersion{Major: 5, Minor: 15}
MinimumKernelVersion = PackageVersion{Major: 5, Minor: 0}
)

// errorFromWin32 wraps a Win32 return value into an error, with a message in
Expand Down

0 comments on commit ed5794f

Please sign in to comment.