Skip to content

Commit 4116f0f

Browse files
committed
Use dummy WSL distro instead of OpenSUSE
The OpenSUSE installation hangs on a YaST dialog invoked via a first-run script. Since we don't use the WSL anyways, just import an empty tarball instead, which is also faster because it doesn't need to download the distro image. Signed-off-by: Jan Dubois <[email protected]>
1 parent fe9f17b commit 4116f0f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,14 @@ jobs:
107107
wsl --status
108108
wsl --list --online
109109
- name: Install WSL2 distro
110-
timeout-minutes: 3
110+
timeout-minutes: 1
111111
run: |
112112
# FIXME: At least one distro has to be installed here,
113113
# otherwise `wsl --list --verbose` (called from Lima) fails:
114114
# https://github.com/lima-vm/lima/pull/1826#issuecomment-1729993334
115115
# The distro image itself is not consumed by Lima.
116116
# ------------------------------------------------------------------
117-
# Ubuntu-22.04: gets stuck in some infinite loop during adduser
118-
# OracleLinux_9_1: almostly silently fails, and just prints "Usage: adduser [options] LOGIN"
119-
wsl --install -d openSUSE-Leap-15.5
117+
wsl --import dummy $env:TEMP nul
120118
wsl --list --verbose
121119
- name: Set gitconfig
122120
run: |

0 commit comments

Comments
 (0)