Merge pull request #4207 from dominikh/zfs
zfs: remove zfs-import service
This commit is contained in:
@@ -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'
|
# Template file for 'zfs'
|
||||||
pkgname=zfs
|
pkgname=zfs
|
||||||
version=0.6.5.7
|
version=0.6.5.7
|
||||||
revision=1
|
revision=2
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
wrksrc="${pkgname}-${pkgname}-${version/r/-}"
|
wrksrc="${pkgname}-${pkgname}-${version/r/-}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
@@ -34,8 +34,6 @@ post_install() {
|
|||||||
tar xf ../clean.tar.gz -C ${DESTDIR}/usr/src/${pkgname}-${version/r/-}
|
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
|
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/lib/systemd
|
||||||
rm -rf ${DESTDIR}/usr/share/initramfs-tools
|
rm -rf ${DESTDIR}/usr/share/initramfs-tools
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user