Skip to content

Commit c860e67

Browse files
committed
cmd/rootlessport: add missing linux build tags
This amends commit 772ead2 ("Use simulated dual-stack binds when using WSL") which started using linux tag but not for all files. Alas, this breaks ginkgo run on Windows, so add an exclusion. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 061e1a1 commit c860e67

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

cmd/rootlessport/wsl.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux
2+
13
package main
24

35
import (

cmd/rootlessport/wsl_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build linux
2+
13
package main
24

35
import (

winmake.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function Local-Unit {
4848
Build-Ginkgo
4949
$skippackages="hack,internal\domain\infra\abi,internal\domain\infra\tunnel,libpod\lock\shm,pkg\api\handlers\libpod,pkg\api\handlers\utils,pkg\bindings,"
5050
$skippackages+="pkg\domain\infra\abi,pkg\emulation,pkg\machine\apple,pkg\machine\applehv,pkg\machine\e2e,pkg\machine\libkrun,"
51-
$skippackages+="pkg\machine\provider,pkg\machine\proxyenv,pkg\machine\qemu,pkg\specgen\generate,pkg\systemd,test\e2e,test\utils"
51+
$skippackages+="pkg\machine\provider,pkg\machine\proxyenv,pkg\machine\qemu,pkg\specgen\generate,pkg\systemd,test\e2e,test\utils,cmd\rootlessport"
5252
Run-Command "./test/tools/build/ginkgo.exe -vv -r --tags `"$remotetags`" --timeout=15m --trace --no-color --skip-package `"$skippackages`""
5353
}
5454

0 commit comments

Comments
 (0)