From 0e1ddcfdc9986e1bf420a3663011abd79752c642 Mon Sep 17 00:00:00 2001 From: Vasyl Vavrychuk Date: Sat, 22 Jan 2022 11:16:55 +0200 Subject: [PATCH] README.md: Add dwarves to list of build dependencies dwarves package provides pahole without which build fails with BTF: .tmp_vmlinux.btf: pahole (pahole) is not available Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF Link: https://github.com/microsoft/WSL2-Linux-Kernel/pull/247 Signed-off-by: Vasyl Vavrychuk Signed-off-by: Tyler Hicks --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dabefc052d81..bb8acec358c9 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Instructions for building an x86_64 WSL2 kernel with an Ubuntu distribution are as follows: 1. Install the build dependencies: - `$ sudo apt install build-essential flex bison libssl-dev libelf-dev` + `$ sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev` 2. Build the kernel using the WSL2 kernel configuration: `$ make KCONFIG_CONFIG=Microsoft/config-wsl`