|
Size: 1304
Comment:
|
← Revision 6 as of 2012-12-10 16:16:23 ⇥
Size: 1341
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 11: | Line 11: |
| #NB: the deb-src line and GPG key are to be found on the | #NB: the deb-src line and GPG key are to be found on the "Technical Details" #page of the PPA |
You can easily build a package from an Ubuntu PPA, using the following procedure. The Zfs on Linux PPA is used as an example: https://launchpad.net/~zfs-native/+archive/stable
- Install the Debian SDK:
apt-get install devscripts build-essential
- Add the PPA to your sources.list
#NB: the deb-src line and GPG key are to be found on the "Technical Details" #page of the PPA echo "deb-src http://ppa.launchpad.net/zfs-native/stable/ubuntu precise main" >> /etc/apt_sources.list apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F6B0FC61 apt-get update
- Install build tools and required deps:
apt-get build-dep linux-headers-amd64 zfs-linux spl-linux
- Build the zfs-linux packages
apt-get source -b zfs-dkms
build the spl-linux packages
apt-get source -b spl-linux
- Install the resulting stuff
dpkg -i "zfsutils_0.6.0.86-0ubuntu1~precise1_amd64.deb zfs-dkms_0.6.0.86-0ubuntu1~precise1_amd64.deb libzpool1_0.6.0.86-0ubuntu1~precise1_amd64.deb libzfs1_0.6.0.86-0ubuntu1~precise1_amd64.deb libuutil1_0.6.0.86-0ubuntu1~precise1_amd64.deb libnvpair1_0.6.0.86-0ubuntu1~precise1_amd64.deb spl-dkms_0.6.0.86-0ubuntu1~precise1_all.deb"
Activate zfs on startup and reboot:
#in /etc/default/zfs ZFS_MOUNT='yes' ZFS_UNMOUNT='yes'
