mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +08:00
Merge pull request #6535 from ipfs/fix/5334
fix {net,open}bsd build by disabling fuse on openbsd
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
// +build !nofuse
|
||||
// +build !nofuse,!openbsd,!netbsd
|
||||
|
||||
package ipns
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build !nofuse
|
||||
// +build !nofuse,!openbsd,!netbsd
|
||||
|
||||
// package fuse/ipns implements a fuse filesystem that interfaces
|
||||
// with ipns, the naming system for ipfs.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build !nofuse
|
||||
// +build !nofuse,!openbsd,!netbsd
|
||||
|
||||
package ipns
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
// +build !nofuse
|
||||
// +build !windows
|
||||
// +build !nofuse,!windows,!openbsd,!netbsd
|
||||
|
||||
package mount
|
||||
|
||||
|
13
fuse/node/mount_notsupp.go
Normal file
13
fuse/node/mount_notsupp.go
Normal file
@ -0,0 +1,13 @@
|
||||
// +build !nofuse,openbsd !nofuse,netbsd
|
||||
|
||||
package node
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
core "github.com/ipfs/go-ipfs/core"
|
||||
)
|
||||
|
||||
func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
|
||||
return errors.New("FUSE not supported on OpenBSD or NetBSD. See #5334 (https://git.io/fjMuC).")
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
// +build !nofuse
|
||||
// +build !openbsd,!nofuse,!netbsd
|
||||
|
||||
package node
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build !windows,!nofuse
|
||||
// +build !windows,!openbsd,!netbsd,!nofuse
|
||||
|
||||
package node
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build !nofuse
|
||||
// +build !nofuse,!openbsd,!netbsd
|
||||
|
||||
package readonly
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux darwin freebsd netbsd openbsd
|
||||
// +build linux darwin freebsd
|
||||
// +build !nofuse
|
||||
|
||||
package readonly
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux darwin freebsd netbsd openbsd
|
||||
// +build linux darwin freebsd
|
||||
// +build !nofuse
|
||||
|
||||
package readonly
|
||||
|
@ -20,8 +20,15 @@ SUPPORTED_PLATFORMS += linux-amd64
|
||||
SUPPORTED_PLATFORMS += darwin-386
|
||||
SUPPORTED_PLATFORMS += darwin-amd64
|
||||
|
||||
SUPPORTED_PLATFORMS += freebsd-386
|
||||
SUPPORTED_PLATFORMS += freebsd-amd64
|
||||
|
||||
SUPPORTED_PLATFORMS += openbsd-386
|
||||
SUPPORTED_PLATFORMS += openbsd-amd64
|
||||
|
||||
SUPPORTED_PLATFORMS += netbsd-386
|
||||
SUPPORTED_PLATFORMS += netbsd-amd64
|
||||
|
||||
space:=
|
||||
space+=
|
||||
comma:=,
|
||||
|
Reference in New Issue
Block a user