Skip to content

Commit 4d27f20

Browse files
committed
libcontainer: drop FreeBSD support
runc is not supported on FreeBSD, so remove all FreeBSD specific bits. As suggested by @crosbymichael in #1653 Signed-off-by: Tobias Klauser <[email protected]>
1 parent fb6ec65 commit 4d27f20

File tree

7 files changed

+5
-51
lines changed

7 files changed

+5
-51
lines changed

libcontainer/configs/cgroup_unsupported.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build !windows,!linux,!freebsd
1+
// +build !windows,!linux
22

33
package configs
44

libcontainer/configs/device_defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build linux freebsd
1+
// +build linux
22

33
package configs
44

libcontainer/devices/devices_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build linux freebsd
1+
// +build linux
22

33
package devices
44

libcontainer/mount/mount_freebsd.go

Lines changed: 0 additions & 41 deletions
This file was deleted.

libcontainer/mount/mount_unsupported.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build !linux,!freebsd freebsd,!cgo
1+
// +build !linux
22

33
package mount
44

libcontainer/stats_freebsd.go

Lines changed: 0 additions & 5 deletions
This file was deleted.

libcontainer/system/sysconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build cgo,linux cgo,freebsd
1+
// +build cgo,linux
22

33
package system
44

0 commit comments

Comments
 (0)