zfs: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 18:05:10 +02:00
parent fbe562a299
commit feb3144b4b
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'zfs'
pkgname=zfs
version=0.6.4.1
revision=2
revision=3
wrksrc="${pkgname}-${pkgname}-${version/r/-}"
build_style=gnu-configure
configure_args="--with-config=user --sbindir=/usr/bin
@ -20,7 +20,7 @@ nocross=yes
triggers="dkms"
dkms_modules="zfs ${version/r/-}"
depends="dkms>=2.2.0.3_9 spl>=${version} glibc-devel"
depends="dkms>=2.2.0.3_9 spl>=${version}"
pre_configure() {
autoreconf -fi
@ -28,8 +28,6 @@ pre_configure() {
}
post_install() {
# mount.zfs needs to be in /usr/sbin.
vmkdir usr/sbin
mv ${DESTDIR}/usr/bin/mount.zfs ${DESTDIR}/usr/sbin/mount.zfs
rm ${DESTDIR}/etc/init.d/zfs
vlicense COPYRIGHT