Skip to content

Commit

Permalink
Merge pull request #1935 from coypoop/trivial-netbsd-patches
Browse files Browse the repository at this point in the history
Trivial patches to minimize patches needed by NetBSD
  • Loading branch information
openshift-merge-bot[bot] authored Jun 3, 2024
2 parents 44daeaa + 730997e commit 5fe400b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 48 deletions.
4 changes: 2 additions & 2 deletions drivers/chroot_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build linux || darwin || freebsd || solaris
// +build linux darwin freebsd solaris
//go:build !windows
// +build !windows

package graphdriver

Expand Down
4 changes: 2 additions & 2 deletions pkg/archive/archive_bsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build freebsd || darwin
// +build freebsd darwin
//go:build netbsd || freebsd || darwin
// +build netbsd freebsd darwin

package archive

Expand Down
4 changes: 2 additions & 2 deletions pkg/directory/directory_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build linux || darwin || freebsd || solaris
// +build linux darwin freebsd solaris
//go:build !windows
// +build !windows

package directory

Expand Down
38 changes: 0 additions & 38 deletions pkg/homedir/homedir_others.go

This file was deleted.

4 changes: 2 additions & 2 deletions pkg/lockfile/lockfile_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build linux || solaris || darwin || freebsd
// +build linux solaris darwin freebsd
//go:build !windows
// +build !windows

package lockfile

Expand Down
4 changes: 2 additions & 2 deletions pkg/system/syscall_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build linux || freebsd || darwin
// +build linux freebsd darwin
//go:build !windows
// +build !windows

package system

Expand Down
2 changes: 2 additions & 0 deletions types/options_freebsd.go → types/options_bsd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build freebsd || netbsd

package types

const (
Expand Down

0 comments on commit 5fe400b

Please sign in to comment.