Unverified 提交 876d5ba1 作者: Steven Allen 提交者: GitHub

Merge pull request #6535 from ipfs/fix/5334

fix {net,open}bsd build by disabling fuse on openbsd
// +build !nofuse
// +build !nofuse,!openbsd,!netbsd
package ipns
......
// +build !nofuse
// +build !nofuse,!openbsd,!netbsd
// package fuse/ipns implements a fuse filesystem that interfaces
// with ipns, the naming system for ipfs.
......
// +build !nofuse
// +build !nofuse,!openbsd,!netbsd
package ipns
......
// +build !nofuse
// +build !windows
// +build !nofuse,!windows,!openbsd,!netbsd
package mount
......
// +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).")
}
// +build !nofuse
// +build !openbsd,!nofuse,!netbsd
package node
......
// +build !windows,!nofuse
// +build !windows,!openbsd,!netbsd,!nofuse
package node
......
// +build !nofuse
// +build !nofuse,!openbsd,!netbsd
package readonly
......
// +build linux darwin freebsd netbsd openbsd
// +build linux darwin freebsd
// +build !nofuse
package readonly
......
// +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:=,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论