We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f43ab80 + 364140d commit 3fc6516Copy full SHA for 3fc6516
.github/workflows/test.yml
@@ -148,8 +148,15 @@ jobs:
148
# otherwise `wsl --list --verbose` (called from Lima) fails:
149
# https://github.com/lima-vm/lima/pull/1826#issuecomment-1729993334
150
# The distro image itself is not consumed by Lima.
151
+ # Starting with WSL2 version 2.5.7.0 the distro will be rejected
152
+ # if it doesn't contain /bin/sh and /etc.
153
# ------------------------------------------------------------------
- wsl --import dummy $env:TEMP nul
154
+ mkdir dummy
155
+ mkdir dummy\bin
156
+ mkdir dummy\etc
157
+ echo "" >dummy\bin\sh
158
+ tar -cf dummy.tar --format ustar -C dummy .
159
+ wsl --import dummy $env:TEMP dummy.tar
160
wsl --list --verbose
161
- name: Set gitconfig
162
run: |
0 commit comments