Skip to content

Commit

Permalink
INSTALL.md - Use a faster & smaller shallow clone when fetching WSL2-…
Browse files Browse the repository at this point in the history
…Linux-Kernel git repo
  • Loading branch information
Cimon Lucas (LCM) authored and yonghong-song committed Mar 20, 2023
1 parent ca2dcf8 commit b485015
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,9 @@ apt-get install flex bison libssl-dev libelf-dev dwarves

First, you will need to checkout the WSL2 Linux kernel git repository:
```
git clone [email protected]:microsoft/WSL2-Linux-Kernel.git
cd WSL2-Linux-Kernel
KERNEL_VERSION=$(uname -r | cut -d '-' -f 1)
git checkout linux-msft-wsl-$KERNEL_VERSION
git clone --depth 1 [email protected]:microsoft/WSL2-Linux-Kernel.git -b linux-msft-wsl-$KERNEL_VERSION
cd WSL2-Linux-Kernel
```

Then compile and install:
Expand Down

0 comments on commit b485015

Please sign in to comment.