On Thu, 2020-11-19 at 16:56 -0500, Neal Gompa wrote:
On Fri, Nov 13, 2020 at 8:14 AM Andrea Bolognani
<abologna(a)redhat.com> wrote:
> As another data point, Debian currently carries a patch[1] which
> allows us to enable the ZFS driver without installing the ZFS
> packages in the build environment: this is necessary because, due to
> its license, ZFS is kept outside of the main Debian repository.
>
> Being able to use something like
>
> -Dprog_zfs=/sbin/zfs -Dprog_zfspool=/sbin/zfspool
>
> to achieve the same result would allow us to drop that patch, which I
> would be *extremely* happy about :)
The way I solved *that* specific problem was to use zfs-fuse at
build-time and have runtime work with either implementation. That
should work for you too, since Debian has zfs-fuse in main.
This sounds intriguing. Can you please point me to the code?
--
Andrea Bolognani / Red Hat / Virtualization