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'
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue