Merge pull request #5658 from Duncaen/nfs-utils
nfs-utils: add start-statd replacement
This commit is contained in:
commit
2eb248328e
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# nfsmount calls this script when mounting a filesystem with locking enabled.
|
||||||
|
sv up statd
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nfs-utils'
|
# Template file for 'nfs-utils'
|
||||||
pkgname=nfs-utils
|
pkgname=nfs-utils
|
||||||
version=1.3.4
|
version=1.3.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
||||||
--with-statedir=/var/lib/nfs --enable-libmount-mount --enable-gss
|
--with-statedir=/var/lib/nfs --enable-libmount-mount --enable-gss
|
||||||
|
@ -47,6 +47,9 @@ post_install() {
|
||||||
# runit services
|
# runit services
|
||||||
vsv statd
|
vsv statd
|
||||||
vsv nfs-server
|
vsv nfs-server
|
||||||
|
# replacement scripts
|
||||||
|
rm -rf ${DESTDIR}/usr/bin/start-statd
|
||||||
|
vbin ${FILESDIR}/start-statd
|
||||||
|
|
||||||
rm -rf ${DESTDIR}/var/lib/nfs
|
rm -rf ${DESTDIR}/var/lib/nfs
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue