[Pkg-zfsonlinux-devel] Patches to build udeb's and module packages directly from source

Aron Xu happyaron.xu at gmail.com
Thu May 30 20:28:51 UTC 2013

On Fri, May 31, 2013 at 4:13 AM, Turbo Fredriksson <turbo at bayour.com> wrote:
> On May 30, 2013, at 9:54 PM, Aron Xu wrote:
>> I just went over this patch but still haven't tried to build the
>> branch. And I wonder if we really want to build binary modules for
>> ordinary users.
> That's the point, the're NOT build automatically. You have to explicitly
> call the relevant build target for them to build...
> That is:
>         debuild -uc -us -sa -b
> does NOT build the binary modules. But:
>         debian/rules override_dh_binary-modules
> and/or
>         debian/rules override_dh_binary-modules-udeb

Thanks for the clarification.

>> I think they should be using either dkms or
>> module-assistant, right? If you agree, can you modify your branch?
> That's already done with the '{spl,zfs}-dkms' module, which is
> for 'normal users'.
> But if we ever get approval of putting ZoL in Debian GNU/Linux, we
> NEED the binary module package(s). Hence the option to do that directly
> in the source directory...
> That was part of my suggestion to have a kernel auto build system...

I understand the need of binary is a practical question, so that
people can deploy the same module to a bunches of machines using
Debian way without being bothered by running dkms everywhere (I don't
think low-ram would be a question here, since running ZFS do require
quite some RAM). But I'm not quite sure if module-assistant is less
convenient than the debian/rules in a package.

> DKMS can't build a binary module package. It can create a deb package,
> yes, but it's basically only a deb with a tar ball with the modules in
> it. It still require dkms etc to install the deb.
> --
> God gave man both a penis and a brain,
> but unfortunately not enough blood supply
> to run both at the same time.
> - R. Williams
> _______________________________________________
> Pkg-zfsonlinux-devel mailing list
> Pkg-zfsonlinux-devel at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/pkg-zfsonlinux-devel

Aron Xu

More information about the Pkg-zfsonlinux-devel mailing list