[Build] Restore the flat modules VHDX layout & Improve Packaging - #172
Merged
Conversation
Owner
Author
|
The addon artifacts seem not quite complete 🤔 Need some extra fixes on this |
Locietta
marked this pull request as ready for review
August 11, 2026 14:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Followup to #171 and Nevuly/WSL2-Rolling-Kernel-Issue#47.
Post build
Restore the flat kernel modules VHDX layout used by currently released WSL. The new
<kernelrelease>/{modules,linux-headers,perf}layout requires microsoft/WSL#41267, which has not landed in a WSL release yet.Generate the external-module build tree with the kernel's packaging helper, preserve sanitized UAPI headers under
build/usr/include, and ship the full matchingDocumentationtree. Validate both interfaces before creating the VHDX.Create the ext4 image directly from the staged release tree, avoiding privileged loop-device mounts while retaining the flat filesystem root.
Patch
Refresh the LTS TSCInvariant patch for XanMod 6.18.44 after https://gitlab.com/xanmod/linux/-/commit/82cdbb61 changed its surrounding context.