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

Turbo Fredriksson turbo at bayour.com
Thu May 30 20:13:11 UTC 2013


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

> 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...


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




More information about the Pkg-zfsonlinux-devel mailing list