Merge pull request #5658 from Duncaen/nfs-utils

nfs-utils: add start-statd replacement
This commit is contained in:
Toyam Cox 2017-02-14 20:55:26 -05:00 committed by GitHub
commit 2eb248328e
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' # 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
} }