|
| 1 | +<p align="center"> |
| 2 | + <img width="100" height="100" alt="WSLackware" src="./WSLackware/images/tux.png"> |
| 3 | +</p> |
| 4 | + |
| 5 | +# Slackware's default kernel for WSLackware and other WSL2 distros |
| 6 | + |
| 7 | +[WSLackware](https://github.com/Mohsens22/WSLackware/) is an unofficial version of Slackware for Windows Subsystem for Linux on Windows 10, 11 and Windows Server. |
| 8 | + |
| 9 | +You can find more info about the project, downloading and installation here: |
| 10 | +<https://github.com/Mohsens22/WSLackware/> |
| 11 | + |
| 12 | +This is the default kernel 5.15.19 which is included in Slackware's latest stable release, customized to work with WSLackware |
| 13 | +and other WSL2 distros. |
| 14 | + |
| 15 | +You can download pre-built kernels from the [Releases](https://github.com/RezaT4795/WSLackware-kernel/releases). |
| 16 | + |
| 17 | +Or you can proceed and build it from the source. |
| 18 | + |
| 19 | +## IMPORTANT NOTE! READ BEFORE PROCEEDING |
| 20 | + |
| 21 | +This is the first release of this kernel and it is considered as an ALPHA release. |
| 22 | +It works fine on WSL2, but some features might NOT work, such as WSLg. |
| 23 | + |
| 24 | +## Build Instructions |
| 25 | + |
| 26 | +Instructions for building with a WSLackware distribution are |
| 27 | +as follows: |
| 28 | + |
| 29 | +1. Install the build dependencies (I recommend you to install all packages of d/ series which are development tools): |
| 30 | + `$ sudo slackpkg install d` |
| 31 | +2. Build the kernel using the pre-made kernel configuration: |
| 32 | + `$ make KCONFIG_CONFIG=WSLackware/config` |
| 33 | + |
| 34 | +Instructions for building with an Ubuntu distribution are |
| 35 | +as follows: |
| 36 | + |
| 37 | +1. Install the build dependencies: |
| 38 | + `$ sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev` |
| 39 | +2. Build the kernel using the pre-made kernel configuration: |
| 40 | + `$ make KCONFIG_CONFIG=WSLackware/config` |
| 41 | + |
| 42 | +## Install instructions |
| 43 | + |
| 44 | +Please see the documentation on the [.wslconfig configuration |
| 45 | +file](https://docs.microsoft.com/en-us/windows/wsl/wsl-config#configure-global-options-with-wslconfig) for information on using a custom built kernel. |
| 46 | + |
| 47 | +### Credits |
| 48 | + |
| 49 | +- Linus Torvalds and all of the Linux community for making this kernel |
| 50 | +- Microsoft for WSL2 and kernel patches |
| 51 | +- [Iouri Tarassov](mailto:iourit@microsoft.com) for DirectX and Hyper-V patches |
| 52 | + |
| 53 | +### Contributing |
| 54 | + |
| 55 | +You can [send me issues](https://github.com/RezaT4795/WSLackware-kernel/issues) and let me know about bugs, missing features or anything that I need to know. |
0 commit comments