<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fedora-linux-surface-pro-12in/kiwi-descriptions.git/teams/cloud/wsl.xml, branch rawhide</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://sayag.it/fedora-linux-surface-pro-12in/kiwi-descriptions.git/atom/teams/cloud/wsl.xml?h=rawhide</id>
<link rel='self' href='https://sayag.it/fedora-linux-surface-pro-12in/kiwi-descriptions.git/atom/teams/cloud/wsl.xml?h=rawhide'/>
<link rel='alternate' type='text/html' href='https://sayag.it/fedora-linux-surface-pro-12in/kiwi-descriptions.git/'/>
<updated>2025-08-28T17:33:42Z</updated>
<entry>
<title>wsl: drop the SELinux packages from the WSL base image</title>
<updated>2025-08-28T17:33:42Z</updated>
<author>
<name>Jeremy Cline</name>
<email>jeremycline@linux.microsoft.com</email>
</author>
<published>2025-08-28T17:28:25Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/fedora-linux-surface-pro-12in/kiwi-descriptions.git/commit/?id=39b379f7d9922bf067f267f430ca1092f8cd1a08'/>
<id>urn:sha1:39b379f7d9922bf067f267f430ca1092f8cd1a08</id>
<content type='text'>
WSL does not support SELinux, so at best it's pointless to install. This
also actively breaks WSL 1 users, although I don't think we should
suggest that we support that, and if the policy on the builder doesn't
match the target things break during the build.

It also reduced the build time from ~80 seconds to ~70 seconds for me,
so that's nice.

Signed-off-by: Jeremy Cline &lt;jeremycline@linux.microsoft.com&gt;
</content>
</entry>
<entry>
<title>teams/cloud/wsl: Use native "wsl" image type</title>
<updated>2025-05-29T14:13:19Z</updated>
<author>
<name>Neal Gompa</name>
<email>ngompa@fedoraproject.org</email>
</author>
<published>2025-05-29T13:44:45Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/fedora-linux-surface-pro-12in/kiwi-descriptions.git/commit/?id=887dbe204bebe1b76a3df2e5c6f340e582665958'/>
<id>urn:sha1:887dbe204bebe1b76a3df2e5c6f340e582665958</id>
<content type='text'>
This introduces extra validation for WSL image creation to ensure
the result is usable.
</content>
</entry>
<entry>
<title>wsl: Add wget to the default package set</title>
<updated>2025-05-15T15:31:42Z</updated>
<author>
<name>Jeremy Cline</name>
<email>jeremycline@linux.microsoft.com</email>
</author>
<published>2025-05-15T14:14:58Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/fedora-linux-surface-pro-12in/kiwi-descriptions.git/commit/?id=bbb08242833afbadcb963ccbf47237465419ad3e'/>
<id>urn:sha1:bbb08242833afbadcb963ccbf47237465419ad3e</id>
<content type='text'>
Although we include curl, some folks expect wget. Also, one of the more
common uses of WSL is in combination with VS Code, and its setup script
on remote hosts uses wget.

Signed-off-by: Jeremy Cline &lt;jeremycline@linux.microsoft.com&gt;
</content>
</entry>
<entry>
<title>Add a WSL definition and config snippets</title>
<updated>2025-01-31T15:52:54Z</updated>
<author>
<name>Jeremy Cline</name>
<email>jeremycline@microsoft.com</email>
</author>
<published>2024-03-01T20:11:59Z</published>
<link rel='alternate' type='text/html' href='https://sayag.it/fedora-linux-surface-pro-12in/kiwi-descriptions.git/commit/?id=4b4a83b33f8eff8f7f13f35b61b4f5464ea4444a'/>
<id>urn:sha1:4b4a83b33f8eff8f7f13f35b61b4f5464ea4444a</id>
<content type='text'>
This introduces the beginnings of an image definition for Windows
Subsystem for Linux (WSL).

The package list is based on the core and standard grouplists. Some
packages, like the kernel, dracut, and so on, are omitted as they are
unnecessary. Others, like audit, don't work in the environment. Finally,
many packages are omitted since I thought "people probably won't want
that", so the package list is completely up for debate. This is just a
reasonable starting point that works.

Build/test instructions:

To build the tarball:

  $ ./kiwi-build --image-profile=WSL-Base --image-type=tbz --output-dir=./build/

Get it to a Windows host with WSL installed. To boot it with cgroupsv2,
add the following to `.wslconfig` in the Windows host home folder:

[wsl2]
kernelCommandLine=systemd.unified_cgroup_hierarchhy=1 cgroup_no_v1=all

This assumes the latest WSL release is installed, at least version 2.4.4:

  $ wsl --install --from-file .\path\to\the\fedora.tar.xz

Alternatively, if you're using something prior to version 2.4.4:

  $ wsl --import --version=2 Fedora C:\path\to\storage\Fedora\ .\path\to\the\fedora.tar.xz

Finally, run it with:

  $ wsl -d Fedora

If you are using 2.4.4+, you will be prompted for a username and then
dropped into an interactive shell with that user and passwordless sudo
access.

If you're using an older version, you need to do:

  $ wsl -d Fedora -u root
  # /usr/libexec/wsl/oobe.sh

Signed-off-by: Jeremy Cline &lt;jeremycline@linux.microsoft.com&gt;
</content>
</entry>
</feed>
