From d8800a3780a66eedf78b61d99a41961c201558b7 Mon Sep 17 00:00:00 2001 From: Josh Smith Date: Thu, 12 Aug 2021 17:57:03 -0400 Subject: [PATCH] reduce download: only clone with 1 layer depth --- linux-tools/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-tools/README.md b/linux-tools/README.md index 6a2eb92..7ce94d4 100644 --- a/linux-tools/README.md +++ b/linux-tools/README.md @@ -7,7 +7,7 @@ Hopefully Microsoft will publish this and we don't have to do this ourselves. Success will look like deleting this repo. Versions might need to change. 1. apt install libbabeltrace-ctf-dev systemtap-sdt-dev libslang2-dev libelf-dev libunwind-dev libdw-dev libiberty-dev - 1. git clone https://github.com/microsoft/WSL2-Linux-Kernel + 1. git clone --depth=1 https://github.com/microsoft/WSL2-Linux-Kernel 1. cd WSL2-Linux-Kernel/tools/perf 1. make 1. make install DESTDIR=/tmp/linux-tools-4.19.104-microsoft-standard prefix=/usr