From bcc6e254708e0ace144a3d590a631db61da0a659 Mon Sep 17 00:00:00 2001 From: Antonio Huete Jimenez Date: Tue, 15 Aug 2023 20:52:30 +0200 Subject: [PATCH] dragonfly: Initial porting work Signed-off-by: Antonio Huete Jimenez --- .github/workflows/ci.yml | 2 +- cmd/continuity/commands/mount_unsupported.go | 4 ++-- devices/mknod_freebsd.go | 4 ++-- driver/lchmod_unix.go | 4 ++-- fs/copy_unix.go | 4 ++-- fs/du_cmd_freebsddarwin_test.go | 4 ++-- fs/du_cmd_unix_test.go | 4 ++-- fs/stat_atim.go | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3009e50..902f59c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,7 @@ jobs: strategy: matrix: - goos: [freebsd, openbsd, netbsd, darwin, solaris] + goos: [freebsd, openbsd, netbsd, dragonfly, darwin, solaris] steps: - name: Set up Go diff --git a/cmd/continuity/commands/mount_unsupported.go b/cmd/continuity/commands/mount_unsupported.go index e3a151ca..d9fdba2d 100644 --- a/cmd/continuity/commands/mount_unsupported.go +++ b/cmd/continuity/commands/mount_unsupported.go @@ -1,5 +1,5 @@ -//go:build windows || solaris || openbsd || netbsd || darwin -// +build windows solaris openbsd netbsd darwin +//go:build windows || solaris || openbsd || netbsd || dragonfly || darwin +// +build windows solaris openbsd netbsd dragonfly darwin /* Copyright The containerd Authors. diff --git a/devices/mknod_freebsd.go b/devices/mknod_freebsd.go index 067ff7de..2f73fbb6 100644 --- a/devices/mknod_freebsd.go +++ b/devices/mknod_freebsd.go @@ -1,5 +1,5 @@ -//go:build freebsd -// +build freebsd +//go:build freebsd || dragonfly +// +build freebsd dragonfly /* Copyright The containerd Authors. diff --git a/driver/lchmod_unix.go b/driver/lchmod_unix.go index 161c79fa..724a6ae0 100644 --- a/driver/lchmod_unix.go +++ b/driver/lchmod_unix.go @@ -1,5 +1,5 @@ -//go:build darwin || freebsd || netbsd || openbsd || solaris -// +build darwin freebsd netbsd openbsd solaris +//go:build darwin || freebsd || netbsd || openbsd || dragonfly || solaris +// +build darwin freebsd netbsd openbsd dragonfly solaris /* Copyright The containerd Authors. diff --git a/fs/copy_unix.go b/fs/copy_unix.go index 1311250e..2e25914d 100644 --- a/fs/copy_unix.go +++ b/fs/copy_unix.go @@ -1,5 +1,5 @@ -//go:build darwin || freebsd || openbsd || netbsd || solaris -// +build darwin freebsd openbsd netbsd solaris +//go:build darwin || freebsd || openbsd || netbsd || dragonfly || solaris +// +build darwin freebsd openbsd netbsd dragonfly solaris /* Copyright The containerd Authors. diff --git a/fs/du_cmd_freebsddarwin_test.go b/fs/du_cmd_freebsddarwin_test.go index ecbec9fc..5d99da8c 100644 --- a/fs/du_cmd_freebsddarwin_test.go +++ b/fs/du_cmd_freebsddarwin_test.go @@ -1,5 +1,5 @@ -//go:build freebsd || darwin -// +build freebsd darwin +//go:build freebsd || dragonfly || darwin +// +build freebsd dragonfly darwin /* Copyright The containerd Authors. diff --git a/fs/du_cmd_unix_test.go b/fs/du_cmd_unix_test.go index 28760a98..fd6f1905 100644 --- a/fs/du_cmd_unix_test.go +++ b/fs/du_cmd_unix_test.go @@ -1,5 +1,5 @@ -//go:build !windows && !freebsd && !darwin -// +build !windows,!freebsd,!darwin +//go:build !windows && !freebsd && !darwin && !dragonfly +// +build !windows,!freebsd,!darwin,!dragonfly /* Copyright The containerd Authors. diff --git a/fs/stat_atim.go b/fs/stat_atim.go index 996b9c1a..ade7bec6 100644 --- a/fs/stat_atim.go +++ b/fs/stat_atim.go @@ -1,5 +1,5 @@ -//go:build linux || openbsd || solaris -// +build linux openbsd solaris +//go:build linux || openbsd || dragonfly || solaris +// +build linux openbsd dragonfly solaris /* Copyright The containerd Authors.