Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Distribute as .wsl file instead of .tar.gz #600

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

nzbr
Copy link
Member

@nzbr nzbr commented Dec 6, 2024

Basically this is just a renamed version of the existing .tar.gz with a manifest file bundled in, allowing for a more convenient installation.
See https://learn.microsoft.com/en-us/windows/wsl/build-custom-distro

@nzbr nzbr added the enhancement New feature or request label Dec 6, 2024
@github-actions github-actions bot added the tests Anything related to checks or tests label Dec 6, 2024
@nzbr nzbr force-pushed the wsl-package branch 5 times, most recently from fb80e8d to 6d5d06b Compare December 27, 2024 21:34
@nzbr
Copy link
Member Author

nzbr commented Dec 27, 2024

Really hope I did not miss a .tar.gz somewhere

@nzbr nzbr marked this pull request as ready for review December 27, 2024 22:19
@nzbr nzbr requested review from K900 and SuperSandro2000 December 27, 2024 22:19
@K900
Copy link
Contributor

K900 commented Dec 28, 2024

Does this still work on older WSL versions?

@nzbr
Copy link
Member Author

nzbr commented Dec 28, 2024

It should. The file is just a renamed tar.gz after all and wsl.exe does not seem to check the extension. The manifest will just be ignored if this is installed with wsl --import. The CI doesn't have the prerelease version with --install --from-file and it does work there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Anything related to checks or tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants