Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Support Debian/Ubuntu Style Packages #3

Closed
behlendorf opened this issue May 17, 2010 · 3 comments
Closed

Support Debian/Ubuntu Style Packages #3

behlendorf opened this issue May 17, 2010 · 3 comments
Labels

Comments

@behlendorf
Copy link
Contributor

The build system should be updated to support building Debian/Ubuntu style packages.

http://www.debian.org/doc/devel-manuals#maint-guide

@behlendorf
Copy link
Contributor Author

This was sort of fixed by commit 2288aea62855117d9ac797c923427dcfd43ed668. As a short term work around I've automated the process of using alien to convert rpm packages to deb and tgz packages. The long term fix remains to add native packaging but I just don't have time for that. This I had time for:

$ lsb_release -d
Description:    Ubuntu 10.04.1 LTS

$ ./configure
$ make deb

$ ls *.deb
spl_0.5.0-2_i386.deb
spl-modules_0.5.0-2_i386.deb
spl-modules-devel_0.5.0-2_i386.deb

$ sudo dpkg -i *.deb
Selecting previously deselected package spl.
(Reading database ... 225166 files and directories currently installed.)
Unpacking spl (from spl_0.5.0-2_i386.deb) ...
Selecting previously deselected package spl-modules.
Unpacking spl-modules (from spl-modules_0.5.0-2_i386.deb) ...
Selecting previously deselected package spl-modules-devel.
Unpacking spl-modules-devel (from spl-modules-devel_0.5.0-2_i386.deb) ...
Setting up spl (0.5.0-2) ...
Setting up spl-modules (0.5.0-2) ...
Setting up spl-modules-devel (0.5.0-2) ...

$ sudo modprobe splat
$ sudo splat -a
------------------------------ Running SPLAT Tests ------------------------------
                kmem:kmem_alloc           Pass
                kmem:kmem_zalloc          Pass
                kmem:vmem_alloc           Pass
                ...

@dajhorn
Copy link
Contributor

dajhorn commented Feb 18, 2011

I did the DKMS packaging for Debian and Ubuntu here:

https://launchpad.net/~dajhorn/+archive/zfs

This packaging is a debian/ overlay for each of spl/, zfs, and lzfs/. Nothing in the repository needs to be changed.

I will likely put these changes into a git-buildpackage repo when I become more familiar with GitHub.

@behlendorf
Copy link
Contributor Author

Closing issue, as noted above Dajhorn has taken care of this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants