URL:
  <http://savannah.gnu.org/bugs/?42392>

                 Summary: Build failure when ZFS support is enabled
                 Project: GNU GRUB
            Submitted by: rjvb
            Submitted on: Tue 20 May 2014 15:09:38 GMT
                Category: Compilation
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: René Bertin
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 2.02~beta1
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

I downloaded the GRUB2 sources from Ubuntu's Launchpad, version 2.02~beta2 for
"Trusty", in order to understand why grub-probe would not deal correctly with
ZFS pools.

It turns out that even the original source, without the Ubuntu patches, fails
to build when libzfs is present (and/or --enable-zfs is used) because the zfs
libraries are missing from the grub-ofpathname utility's link command.

After correcting Makefile.util.def, everything builds OK and grub-probe
correctly reports that ZFS pools are of type zfs .

A patchfile for the correction is attached.

I'm currently building an updated set of Ubuntu/Debian packages; I'll modify
this ticket (or file a new one) if there are additional issues booting off a
ZFS root.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 20 May 2014 15:09:38 GMT  Name: patch-Makefile_util_def-for-zfs 
Size: 399B   By: rjvb
patchfile for Makefile.util.def
<http://savannah.gnu.org/bugs/download.php?file_id=31404>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42392>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to