Skip to content

Commit e8bb779

Browse files
committed
README.md: include building step for modifying configs
WSL2 kernel now has loadable module support, though only when using the default kernel. Include a step in the build instructions stating loadable module support is not available with custom kernels and to build-in any additional modules needed. Signed-off-by: Kelsey Steele <[email protected]>
1 parent 2271e72 commit e8bb779

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ as follows:
2929

3030
1. Install the build dependencies:
3131
`$ sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev`
32-
2. Build the kernel using the WSL2 kernel configuration:
32+
33+
2. Modify WSL2 kernel configs (optional):
34+
`$ make menuconfig KCONFIG_CONFIG=Microsoft/config-wsl`
35+
36+
Loadable module support is disabled when using a custom built kernel. Set any modules you want to be built-in before building.
37+
38+
3. Build the kernel using the WSL2 kernel configuration:
3339
`$ make KCONFIG_CONFIG=Microsoft/config-wsl`
3440

3541
# Install Instructions

0 commit comments

Comments
 (0)