Skip to content

Instantly share code, notes, and snippets.

@LongHairedHacker
Last active April 10, 2017 14:59
Show Gist options
  • Save LongHairedHacker/607e46833a6a5b2361aeaa254b2fae72 to your computer and use it in GitHub Desktop.
Save LongHairedHacker/607e46833a6a5b2361aeaa254b2fae72 to your computer and use it in GitHub Desktop.
Installing zfsonlinux for the Devuan Beta

Installing zsfonlinux under Devuan

HACK - Not recommended for production !

wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_8_all.deb
dpkg --unpack zfsonlinux_8_all.deb
vim /var/lib/dpkg/info/zfsonlinux.postinst

Change line 23 to (simply replace Debian with Devuan)

    if [ "x$id" = "xDevuan" ]; then

Save and quit vim.

dpkg --configure zfsonlinux_8_all.deb
gpg --quiet --with-fingerprint /etc/apt/trusted.gpg.d/zfsonlinux.gpg
apt-get update
apt-get install debian-zfs

Reboot and have fun !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment