Skip to content

Fix installation of dummy WSL2 distro #3598

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

Merged
merged 1 commit into from
Jun 1, 2025

Conversation

jandubois
Copy link
Member

@jandubois jandubois commented Jun 1, 2025

wsl --import no longer accepts an empty tarball, but checks that the tarball contains at least /bin/sh and /etc.

https://github.com/microsoft/WSL/blob/9cd3438/src/linux/init/main.cpp#L2621-L2629

Great that most of WSL2 is now open source! 🎊

Fixes #3597

wsl --import no longer accepts an empty tarball, but checks that the
tarball contains at least /bin/sh and /etc.

https://github.com/microsoft/WSL/blob/9cd3438/src/linux/init/main.cpp#L2621-L2629

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
@jandubois jandubois added this to the v1.1.2 milestone Jun 1, 2025
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

We should also eventually try to remove this "dummy" distro

@AkihiroSuda AkihiroSuda merged commit 3fc6516 into lima-vm:master Jun 1, 2025
34 checks passed
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.

WSL2 CI failing: The imported file is not a valid Linux distribution.
2 participants