installkernel-wsl
Script and installkernel hook to copy Linux kernel to the host system and update .wslconfig.
Installation
Poetry
poetry add installkernel-wsl
Pip
pip install installkernel-wsl
Usage
Add -d to show debug logs.
installkernel-wsl
Usage as a hook
After installation:
mkdir -p /etc/kernel/install.d
ln -sf "$(command -v installkernel-wsl)" /etc/kernel/install.d/99-wsl-kernel.install