Skip to content

[Build] Restore the flat modules VHDX layout & Improve Packaging - #172

Merged
Locietta merged 3 commits into
mainfrom
agent/revert-artifacts-vhd-layout
Aug 11, 2026
Merged

[Build] Restore the flat modules VHDX layout & Improve Packaging#172
Locietta merged 3 commits into
mainfrom
agent/revert-artifacts-vhd-layout

Conversation

@Locietta

@Locietta Locietta commented Aug 11, 2026

Copy link
Copy Markdown
Owner

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 matching Documentation tree. 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.

@Locietta Locietta changed the title [Build] Restore the modules VHDX layout for released WSL [Build] Revert the modules VHDX layout Aug 11, 2026
@Locietta

Locietta commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

The addon artifacts seem not quite complete 🤔 Need some extra fixes on this

@Locietta Locietta changed the title [Build] Revert the modules VHDX layout [Build] Restore the flat modules VHDX layout Aug 11, 2026
@Locietta Locietta changed the title [Build] Restore the flat modules VHDX layout [Build] Restore the flat modules VHDX layout & Improve Packaging Aug 11, 2026
@Locietta
Locietta marked this pull request as ready for review August 11, 2026 14:54
@Locietta
Locietta merged commit e9897b5 into main Aug 11, 2026
10 checks passed
@Locietta
Locietta deleted the agent/revert-artifacts-vhd-layout branch August 12, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant