[Pkg-zfsonlinux-devel] What more can be done to get ZFS into Debian?
Craig Sanders
cas at taz.net.au
Fri Apr 22 13:00:09 UTC 2016
On Fri, Apr 22, 2016 at 05:27:59AM -0500, Richard Laager wrote:
> Would there be any value in building a script (and eventually shipping a
> package) which creates an installer image with ZFS support?
speaking of scripts related to the zfs packages, today i finally got
annoyed enough by the time it takes to compile zfs-dkms on all my
machines (including a few VMs) to create a script that uses `equivs` to
build spl-kernel-modules and zfs-kernel-modules pure binary packages by
copying them out of /lib/modules/kernel-version/updates/dkms/
it's a pretty ugly hack, but it works well enough for my needs. and it
was a lot easier than figuring out why `dkms mkdeb` doesn't do anything
useful and fixing it.
now i only have to have zfs-dksm and spl-dkms on my fastest machine, and
can scp the binary-only debs to my other machines for installation with
'dpkg -i'
anyway, i've attached a copy to this message in case anyone wants a
copy. it's public domain, so feel free to do whatever you want with it.
the script is documented in the comments.
run it like this:
build-zfs-modules-for.sh [ZFS-VERSION] [KERNEL-VERSION] [PKG-REVISION]
it assumes that the zfs-dkms and spl-dkms packages have already been
compiled for the KERNEL-VERSION.
craig
--
craig sanders <cas at taz.net.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-zfs-modules-packages.tar.gz
Type: application/gzip
Size: 8241 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zfsonlinux-devel/attachments/20160422/5a4f79ec/attachment.bin>
More information about the Pkg-zfsonlinux-devel
mailing list