diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2024-04-10 10:00:11 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2024-04-10 10:00:11 +0000 |
commit | 6b1d63e8328a7fe074bf83bbaa3a72f92b6a667c (patch) | |
tree | 0e10093a6714d877f3047f2cf43f294641060e73 /tcwg-base | |
parent | 4abaf23410a4db319efb8634fa30b8e94ccb2f8d (diff) |
tcwg-host: Fix WSL2 support
Bind-mount /run/WSL read-write so that /init can open and write
to sockets.
Change-Id: I8ddcdd3775100ae26903c1807d2223008e3e4aa4
Diffstat (limited to 'tcwg-base')
-rwxr-xr-x | tcwg-base/tcwg-host/start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-base/tcwg-host/start.sh b/tcwg-base/tcwg-host/start.sh index 81c54e42..fb80b292 100755 --- a/tcwg-base/tcwg-host/start.sh +++ b/tcwg-base/tcwg-host/start.sh @@ -124,7 +124,7 @@ esac # If this doesn't work, make WSL2 version is 2.0.14 or later; WSL 2.0.9 # has a bug preventing interop outside of the "main init" process tree. case "$(uname -r)" in - *"-WSL2") mounts="$mounts -v /init:/init:ro -v /run/WSL:/run/WSL:ro" ;; + *"-WSL2") mounts="$mounts -v /init:/init:ro -v /run/WSL:/run/WSL" ;; esac # Since we're starting a host container, take the opportunity to ensure that GDB |