Build failure when ZFS support is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I downloaded the GRUB2 sources from Launchpad, version 2.02~beta2-9 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.
Consequently, I think that the grub-probe error I reported in the linked question is due to missing ZFS support in the binary GRUB2 packages distributed via Launchpad.
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, and an upstream bug report created (https:/
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.
The attachment "patch for Makefile.util.def" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]