This patch is not sufficient, as grub-install calls grub-editenv /boot/grub/grubenv create unconditionally. I've attached another patch which stops grub-install from creating grubenv when /boot/grub is on ZFS.
If we care about the possible use case of an admin who doesn't want grubenv, further work will be required; otherwise it'll come back on every GRUB package upgrade. However, this use case isn't covered now, so I'd hate to see the ZFS fix held up on that.
This patch is not sufficient, as grub-install calls grub-editenv /boot/grub/grubenv create unconditionally. I've attached another patch which stops grub-install from creating grubenv when /boot/grub is on ZFS.
If we care about the possible use case of an admin who doesn't want grubenv, further work will be required; otherwise it'll come back on every GRUB package upgrade. However, this use case isn't covered now, so I'd hate to see the ZFS fix held up on that.