Merge pull request #4207 from dominikh/zfs

zfs: remove zfs-import service
This commit is contained in:
Toyam Cox 2016-05-25 14:42:51 -04:00
commit d095b95e22
3 changed files with 1 additions and 12 deletions

View file

@ -1,5 +0,0 @@
#!/bin/sh
set -e
exec 2>&1
zfs unshare -a
zfs unmount -a

View file

@ -1,4 +0,0 @@
#!/bin/sh
exec 2>&1
zpool import -a || exit 1
exec chpst -b zfs-import pause

View file

@ -1,7 +1,7 @@
# Template file for 'zfs'
pkgname=zfs
version=0.6.5.7
revision=1
revision=2
patch_args="-Np1"
wrksrc="${pkgname}-${pkgname}-${version/r/-}"
build_style=gnu-configure
@ -34,8 +34,6 @@ post_install() {
tar xf ../clean.tar.gz -C ${DESTDIR}/usr/src/${pkgname}-${version/r/-}
scripts/dkms.mkconf -v ${version/r/-} -f ${DESTDIR}/usr/src/${pkgname}-${version/r/-}/dkms.conf -n zfs
vsv zfs-import
rm -rf ${DESTDIR}/usr/lib/systemd
rm -rf ${DESTDIR}/usr/share/initramfs-tools
}