Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Because Debian GNU/Linux can't distribute ZoL binary modules,
use zfs-fuse to create the pool and filesystems in D-I.
Need a udeb for this.
  • Loading branch information
FransUrbo committed Apr 18, 2015
1 parent a213955 commit 3d137af
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 2 deletions.
8 changes: 8 additions & 0 deletions debian/changelog
@@ -1,3 +1,11 @@
zfs-fuse (0.7.0-12.ZOL1) unstable; urgency=low

* Because Debian GNU/Linux can't distribute ZoL binary modules,
use zfs-fuse to create the pool and filesystems in D-I.
Need a udeb for this.

-- Turbo Fredriksson <turbo@bayour.com> Thu, 16 Apr 2015 22:12:40 +0200

zfs-fuse (0.7.0-12) unstable; urgency=low

* Import two patches from Nageswara R Sastry for ppc64el port
Expand Down
16 changes: 16 additions & 0 deletions debian/control
Expand Up @@ -20,3 +20,19 @@ Description: ZFS on FUSE
.
This package provides an implementation of Sun's ZFS filesystem in userspace,
using FUSE.

Package: zfs-fuse-udeb
Package-Type: udeb
Section: debian-installer
Architecture: i386 amd64 sparc powerpc armel
Depends: ${shlibs:Depends}, ${misc:Depends}, fuse-udeb, lsb-base
Description: ZFS on FUSE
ZFS is an advanced filesystem from Sun Microsystems, originally developed
for solaris. It provides a number of advanced features, such as live
integrity checks, atomic updates, atomic snapshots and clones, compression,
and much more.
.
This package provides an implementation of Sun's ZFS filesystem in userspace,
using FUSE.
.
This is a minimal package for use in debian-installer.
4 changes: 2 additions & 2 deletions debian/rules
Expand Up @@ -23,10 +23,10 @@ override_dh_auto_clean:
rm -f src/lib/libumem/config.sub

override_dh_auto_install:
scons $(SCONSFLAGS) DESTDIR=$(CURDIR)/debian/zfs-fuse install_dir=/sbin man_dir=/usr/share/man/man8 install
scons $(SCONSFLAGS) DESTDIR=$(CURDIR)/debian/tmp install_dir=/sbin man_dir=/usr/share/man/man8 install
install -m 644 contrib/zfsrc $(CURDIR)/debian/zfs-fuse/etc/zfs
install -m 644 -T contrib/zfs_completion.bash $(CURDIR)/debian/zfs-fuse/etc/bash_completion.d/zfs-fuse
rm -f debian/zfs-fuse/sbin/ztest
rm -f debian/tmp/sbin/ztest

override_dh_installchangelogs:
dh_installchangelogs CHANGES
Expand Down
1 change: 1 addition & 0 deletions debian/zfs-fuse-udeb.install
@@ -0,0 +1 @@
sbin/* sbin/
3 changes: 3 additions & 0 deletions debian/zfs-fuse.install
@@ -0,0 +1,3 @@
sbin/* sbin/
etc/* etc/
usr/share/man/* usr/share/man/

0 comments on commit 3d137af

Please sign in to comment.