Hi everyone,
Over the last little while I've been inspired to improve the Gentoo WSL experience. My end goal here is to get a Gentoo image distributed via
the Windows Store which can be installed with minimal user interaction.
So far it's looking pretty successful: using the stage3-openrc-desktop
as a base I've produced a stage4-wsl image that includes required WSL configuration, along with QoL changes, like a Logo,
out-of-box-experience script (user creation), etc.
Images have been tested in a VM, and by several volunteers on real
hardware (thanks!), the only known caveat is that an existing WSL container/distro named "Gentoo" may need to be exported and reimported
with a different name.
Testing WSL images can be found here: https://wsl.gentoo.zip/
arm64 images "soon".
Modern (>=2.4.4) versions of WSL can just double-click the archive, and
older versions can install it via PowerShell. The wiki has been updated,
see: https://wiki.gentoo.org/wiki/Gentoo_in_WSL#Importing_Gentoo_via_stage_file
What do I need right now?
* End user testing and feedback: If anyone with access to Windows 10 or
11 is willing to try installing the tarball (.tar.xz masquerading as
.wsl) and pointing out any rough edges I would really appreciate it
* Code review: Have I missed anything in the OOBE script?
* Spec customisations: I've only included mesa and the WSL OOBE script,
but are there any common WSL workflows that the image should cater
for?
* Expressions of interest in systemd-based images: The OOBE script would
need to change, but there's nothing stopping us from publishing them.
OpenRC images would likely be published to the store as there are
caveats with running certain systemd units on WSL
* Help updating the wiki: The documentation for Gentoo in WSL could
stand to be improved.
The WSL configuration can be found here:
* https://github.com/kangie/gentoo-wsl-config
I'll shortly push gentoo-wsl-config into ::gentoo so that those
specs are usable, but it's trivial to package into a standalone
testing repo.
I already broke it! See: https://usercontent.irccloud-cdn.com/file/aU2KI8xl/image.png -- I've
not yet done significant troubleshooting -- I'll PR the repo with a
fix to oobe.sh if I find one.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 135:13:53 |
Calls: | 9,690 |
Files: | 13,728 |
Messages: | 6,177,870 |