nfs-utils: add start-statd replacement

Resolves #5657
This commit is contained in:
Duncaen 2017-02-01 19:12:24 +01:00
parent 9f83e14fc2
commit d25fa7af52
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
# nfsmount calls this script when mounting a filesystem with locking enabled.
sv up statd

View file

@ -1,7 +1,7 @@
# Template file for 'nfs-utils'
pkgname=nfs-utils
version=1.3.4
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
--with-statedir=/var/lib/nfs --enable-libmount-mount --enable-gss
@ -47,6 +47,9 @@ post_install() {
# runit services
vsv statd
vsv nfs-server
# replacement scripts
rm -rf ${DESTDIR}/usr/bin/start-statd
vbin ${FILESDIR}/start-statd
rm -rf ${DESTDIR}/var/lib/nfs
}