We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982b7d3 commit e12cf0fCopy full SHA for e12cf0f
INSTALL.md
@@ -289,7 +289,7 @@ apt-get install flex bison libssl-dev libelf-dev dwarves bc
289
290
First, you will need to checkout the WSL2 Linux kernel git repository:
291
```
292
-KERNEL_VERSION=$(uname -r | cut -d '-' -f 1)
+KERNEL_VERSION=$(uname -r | cut -d '.' -f 1-2 | xargs -I {} echo "{}.y")
293
git clone --depth 1 https://github.com/microsoft/WSL2-Linux-Kernel.git -b linux-msft-wsl-$KERNEL_VERSION
294
cd WSL2-Linux-Kernel
295
0 commit comments