grub2 with libzfs
Juergen Lock
nox at jelal.kn-bremen.de
Wed Mar 27 20:43:33 UTC 2013
On Wed, Mar 27, 2013 at 11:31:50AM -0700, Beeblebrox wrote:
> EDIT: I just tried "make" (without the --enable-libzfs) flag for grub 2.0 and
> got different error:
>
> grub-2.00 # make
> "Makefile", line 20946: Need an operator
>
> line 20946 is:
> 44: export LC_COLLATE := C
> 45: export LC_CTYPE := C
> 46: unexport LC_ALL
>
> Which source are you using?
>
By the way there is a PR to update the grub2 port to 2.00 [1] (that
I also worked a bit on), it doesn't use libzfs yet but it's possible
you only have to add
CPATH=${SRC_BASE}/cddl/contrib/opensolaris/lib/libzfs/common
to CONFIGURE_ENV and MAKE_ENV, and add a ZFS knob to enable this
that checks ${SRC_BASE}/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h
exists and is off by default because the system sources are not
installed on all systems. (and possibly fix the plist...)
HTH, :)
Juergen
[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170417
More information about the freebsd-ports
mailing list