Merge pull request #4207 from dominikh/zfs
zfs: remove zfs-import service
This commit is contained in:
commit
d095b95e22
3 changed files with 1 additions and 12 deletions
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
exec 2>&1
|
||||
zfs unshare -a
|
||||
zfs unmount -a
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
zpool import -a || exit 1
|
||||
exec chpst -b zfs-import pause
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue