Skip to content
Verified Commit 555a6740 authored by Matthew Clarkson's avatar Matthew Clarkson
Browse files

fix: allow four-part `uname -r` versions

On WSL2, the kernel version is reported as a four-part version such as `5.15.167.4-microsoft-standard-WSL2`.

The extra part is the increment number that Microsoft put onto of the upstream kernel headers.

We drop the extra patch part to stay consistent.

This likely needs a follow-up series of patches to validate the detection under WSL.
parent 55062425
Loading
Loading
Loading
Pipeline #21772 passed with stages
in 9 minutes and 59 seconds
Loading
  • GITLAB_TOKEN @group_3575_bot_1fa64dd2caebb37307063a803b95a420

    mentioned in commit 7feb8b19

    ·

    mentioned in commit 7feb8b19

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment