installkernel-wsl

Script and installkernel hook to copy Linux kernel to the host system and update .wslconfig.

View on GitHub

installkernel-wsl

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Dependabot Documentation Status mypy pre-commit Poetry pydocstyle pytest Ruff Downloads Stargazers Prettier

@Tatsh Buy Me A Coffee Libera.Chat Mastodon Follow Patreon

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