Quoting Robert Millan, who wrote the following on Fri, 30 Jul 2010:

2010/7/30, Seth Goldberg <seth.goldb...@oracle.com>:
   I saw your commit of these changes.  Why are you delivering a libzfs.h
and  libnvpair.h?
I think GRUB should be using the headers that are installed on
the systems [...]

Unfortunately there are availability problems with libzfs.h and libnvpair.h.  On
FreeBSD they're not installed system-wide.  On OpenSolaris I can't see them
installed either (although in this one I'm probably missing something).

 Ah, ok.  As long as we try the system-installed libzfs.h first, I'm ok then.

On OpenSolaris, you'll need the system/headers package:

% ls -las /usr/include/libzfs.h
  49 -rw-r--r--   1 root     bin        24369 Jun  9 13:43 /usr/include/libzfs.h
% pkg search -l libzfs.h
INDEX      ACTION VALUE                PACKAGE
basename   file   usr/include/libzfs.h pkg:/system/hea...@0.5.11-0.143



I'm all for switching to system-wide headers, and I completely agree with the
benefits.  If the problem is FreeBSD-specific, I'll report it to
FreeBSD developers
and switch as soon as it is feasible.

Note: part of <grub/util/libzfs.h> is GRUB-specific though (a
declaration for global libzfs variable handle).

 Ok, no problem.

 Thanks,
 --S

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to